An interface with methods that can be overridden to customise how a Device implementing properties responds to property inquiries. More...
#include <juce_CIPropertyDelegate.h>
Public Member Functions | |
PropertyDelegate ()=default | |
virtual | ~PropertyDelegate ()=default |
PropertyDelegate (const PropertyDelegate &)=default | |
PropertyDelegate (PropertyDelegate &&)=default | |
PropertyDelegate & | operator= (const PropertyDelegate &)=default |
PropertyDelegate & | operator= (PropertyDelegate &&)=default |
virtual uint8_t | getNumSimultaneousRequestsSupported () const |
Returns the max number of simultaneous property exchange messages that can be processed. | |
virtual PropertyReplyData | propertyGetDataRequested (MUID, const PropertyRequestHeader &)=0 |
Returns a header/body containing the requested data. | |
virtual PropertyReplyHeader | propertySetDataRequested (MUID, const PropertyRequestData &)=0 |
Returns a header that describes the result of the set operation. | |
virtual bool | subscriptionStartRequested (MUID, const PropertySubscriptionHeader &)=0 |
Returns true to allow the subscription, or false otherwise. | |
virtual void | subscriptionDidStart (MUID, const String &subId, const PropertySubscriptionHeader &)=0 |
Called with the corresponding subscription token after a subscription has started. | |
virtual void | subscriptionWillEnd (MUID, const Subscription &sub)=0 |
Called when a device requests for an ongoing subscription to end. | |
An interface with methods that can be overridden to customise how a Device implementing properties responds to property inquiries.
|
default |
|
virtualdefault |
|
default |
|
default |
|
default |
|
default |
|
virtual |
Returns the max number of simultaneous property exchange messages that can be processed.
|
pure virtual |
Returns a header/body containing the requested data.
To report an error, you can return a failure status code in the header and leave the body empty.
|
pure virtual |
Returns a header that describes the result of the set operation.
|
pure virtual |
Returns true to allow the subscription, or false otherwise.
|
pure virtual |
Called with the corresponding subscription token after a subscription has started.
|
pure virtual |
Called when a device requests for an ongoing subscription to end.