20 #define thisTTClass TTCallback
21 #define thisTTClassName "callback"
22 #define thisTTClassTags "system"
26 mNotification(kTTSym_notify)
41 TTCallback::~TTCallback()
54 if (value.
size() == 1) {
TTSymbol mNotification
the notification the callback is sensitive to
TTValue mBaton
User data to be passed back when the callback is triggered.
#define addAttribute(name, type)
A convenience macro to be used by subclasses for registering attributes with a custom getter...
size_type size() const noexcept
Return the number of elements.
TTErr(TTObjectBase::* TTMethod)(const TTSymbol methodName, const TTValue &anInputValue, TTValue &anOutputValue)
A type that can be used to store a pointer to a message for an object.
TTErr removeMessage(const TTSymbol name)
Remove a message.
This is a special type used by TTAttribute to indicate that a value is a TTValue and is locally maint...
TTErr registerMessage(const TTSymbol name, TTMethod method)
Register a message with this object.
This class is used to create a backward communication channel to notify a client that something chang...
#define addAttributeProperty(attributeName, propertyName, initialValue)
A convenience macro to be used for registering properties of attributes.
TTFunctionWithBatonAndValue mFunction
Function called when the notify message is engaged.
#define TT_BASE_OBJECT_CONSTRUCTOR
TODO Doxygen: need more comments here.
Something went wrong, but what exactly is not known. Typically used for context-specific problems...
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
#define addAttributeWithSetter(name, type)
A convenience macro to be used by subclasses for registering attributes with a custom setter...
TTErr notify(const TTValue &anInputValue, TTValue &anUnusedOutputValue)
Message called because we are registered as an observer to some other object, and then calls our exte...
[doxygenAppendixC_copyExample]