Control Surface API  2.2.2
Signal Interface Reference

Public Member Functions

void addSignalObserver (NoArgsCallback callback)
 
void fire ()
 

Detailed Description

A generic interface used to implement actions or events that are not associated with a value.

Since
API version 1

Definition at line 10 of file Signal.java.

Member Function Documentation

void addSignalObserver ( NoArgsCallback  callback)

Registers an observer that gets notified when the signal gets fired.

Parameters
callbacka callback function that does not receive any argument.
Since
API version 1
void fire ( )

Fires the action or event represented by the signal object.

Since
API version 1

The documentation for this interface was generated from the following file: