AbstractResponderFunc is the abstract superclass of responder funcs, which are classes which register one or more functions to respond to a particular type of input. It provides some common functionality such as introspection. Its two main subclasses are OSCFunc, and MIDIFunc. By default responder funcs do not persist beyond Cmd-. (see -permanent below).
Instances will register with a dispatcher (an instance of a subclass of AbstractDispatcher), which will actually dispatch incoming messages to an instance's Function(s).
Get all current instances of this classes concrete subclasses, sorted by type.
As allFuncProxies above, but only return those instances currently listening for input.
As allFuncProxies above, but only return those instances currently not listening for input.
Get this object's source.
et this object's dispatcher. This is the object which matches incoming messages with responder funcs. Instances can use custom dispatchers to support arbitrary matching schemes.
An instance of an appropriate subclass of AbstractDispatcher. (The return type will depend on subclass.)
Get or set whether this responder func is persists when the user executes Cmd-. If false this will be disabled and removed from the global lists. The default is false.
bool |
A Boolean indicating if this object is permanent. |
The getter returns a Boolean.
Enable this object to receive incoming messages. This is done automatically at creation time.
Stop this object from receiving incoming messages.
Add a new function to the list of functions which will be executed when this object receives an incoming message.
newFunc |
A Function or similar object to be added. |
Remove a function from the list of functions which will be executed when this object receives an incoming message.
removeFunc |
The Function to be removed. |
Open a subclass specific GUI. (Not yet implemented)
The GUI object.
Indicate that this object should execute only once and then free itself.
A synonym for -permanent
Disable this object and remove it from the global lists. This should be done when you are finished using this object.
Remove all active functions from this object's function list.