Vuo
0.4.7
|
An abstract class to be implemented by a client that will receive telemetry data from the composition.
Inherit from this class if you want to implement all of the delegate methods. If you'd only like to implement some delegate methods, inherit from VuoRunnerDelegateAdapter
.
Public Member Functions | |
virtual void | receivedTelemetryStats (unsigned long utime, unsigned long stime)=0 |
This delegate method is invoked twice per second, to provide a heartbeat indicating that the composition is still alive. | |
virtual void | receivedTelemetryNodeExecutionStarted (string nodeIdentifier)=0 |
This delegate method is invoked every time a node has started executing. | |
virtual void | receivedTelemetryNodeExecutionFinished (string nodeIdentifier)=0 |
This delegate method is invoked every time a node has finished executing. | |
virtual void | receivedTelemetryEdgeHit (string edgeIdentifier)=0 |
This delegate method is invoked every time an event has traversed a cable. | |
virtual void | receivedTelemetryInputPortUpdated (string portIdentifier, bool receivedEvent, bool receivedData, string dataSummary)=0 |
This delegate method is invoked every time any input port receives an event or data. | |
virtual void | receivedTelemetryOutputPortUpdated (string portIdentifier, bool sentData, string dataSummary)=0 |
This delegate method is invoked every time any output port conducts or fires an event. | |
virtual void | receivedTelemetryPublishedOutputPortUpdated (VuoRunner::Port *port, bool sentData, string dataSummary)=0 |
This delegate method is invoked every time any published output port conducts an event. | |
virtual void | receivedTelemetryError (string message)=0 |
This delegate method is invoked every time an uncaught error occurs in the composition. | |
virtual void | lostContactWithComposition (void)=0 |
This delegate method is invoked if the runner receives no telemetry messages from the composition for at least 1 second, indicating that the composition has crashed or quit on its own. | |
|
pure virtual |
This delegate method is invoked every time an event has traversed a cable.
edgeIdentifier | A unique identifier representing the cable that was traversed. |
|
pure virtual |
This delegate method is invoked every time an uncaught error occurs in the composition.
message | A message with information about the error. |
|
pure virtual |
This delegate method is invoked every time any input port receives an event or data.
portIdentifier | A unique identifier representing the port that has received an event or data (see VuoCompilerEventPort::getIdentifier() ). |
receivedEvent | True if the port received an event. |
receivedData | True if the port received data. |
dataSummary | A brief description of the new data value of the port, or an empty string if the port is event-only. |
|
pure virtual |
This delegate method is invoked every time a node has finished executing.
nodeIdentifier | A unique identifier representing the node that finished executing. |
|
pure virtual |
This delegate method is invoked every time a node has started executing.
nodeIdentifier | A unique identifier representing the node that started executing. |
|
pure virtual |
This delegate method is invoked every time any output port conducts or fires an event.
portIdentifier | A unique identifier representing the port that has conducted or fired an event (see VuoCompilerEventPort::getIdentifier() ). |
sentData | True if the port sent data along with the event. |
dataSummary | A brief description of the new data value of the port, or an empty string if the port is event-only. |
|
pure virtual |
This delegate method is invoked every time any published output port conducts an event.
port | The VuoRunner::Port that has conducted an event (see VuoRunner::getPublishedOutputPorts() and VuoRunner::getPublishedOutputPortWithName() ). |
sentData | True if the port sent data along with the event. |
dataSummary | A brief description of the new data value of the port, or an empty string if the port is event-only. |
|
pure virtual |
This delegate method is invoked twice per second, to provide a heartbeat indicating that the composition is still alive.
It also provides some basic usage stats.
utime | The number of microseconds this process has spent in user-mode execution. |
stime | The number of microseconds spent in the system executing on behalf of this process. |