Vuo  0.3
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
VuoRunnerDelegate Class Referenceabstract

Description

An abstract class to be implemented by a client that will receive telemetry data from the graph.

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 receivedTelemetryPortValueChanged (string portIdentifier, string valueAsString)=0
 This delegate method is invoked every time any output port value has changed.
 
virtual void receivedTelemetryPublishedPortValueChanged (VuoPublishedPort *port, string valueAsString)=0
 This delegate method is invoked every time any published output port value has changed.
 

Member Function Documentation

virtual void VuoRunnerDelegate::receivedTelemetryEdgeHit ( string  edgeIdentifier)
pure virtual

This delegate method is invoked every time an event has traversed a cable.

Parameters
edgeIdentifierA unique identifier representing the cable that was traversed.
virtual void VuoRunnerDelegate::receivedTelemetryNodeExecutionFinished ( string  nodeIdentifier)
pure virtual

This delegate method is invoked every time a node has finished executing.

Parameters
nodeIdentifierA unique identifier representing the node that finished executing.
virtual void VuoRunnerDelegate::receivedTelemetryNodeExecutionStarted ( string  nodeIdentifier)
pure virtual

This delegate method is invoked every time a node has started executing.

Parameters
nodeIdentifierA unique identifier representing the node that started executing.
virtual void VuoRunnerDelegate::receivedTelemetryPortValueChanged ( string  portIdentifier,
string  valueAsString 
)
pure virtual

This delegate method is invoked every time any output port value has changed.

Parameters
portIdentifierA unique identifier representing the port whose value has changed.
valueAsStringThe new value of the port, serialized.
virtual void VuoRunnerDelegate::receivedTelemetryPublishedPortValueChanged ( VuoPublishedPort port,
string  valueAsString 
)
pure virtual

This delegate method is invoked every time any published output port value has changed.

Parameters
portThe VuoPublishedPort whose value has changed (see VuoRunner::getPublishedOutputPorts() and VuoRunner::getPublishedOutputPortWithName()).
valueAsStringThe new value of the port, serialized.
virtual void VuoRunnerDelegate::receivedTelemetryStats ( unsigned long  utime,
unsigned long  stime 
)
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.

Parameters
utimeThe number of microseconds this process has spent in user-mode execution.
stimeThe number of microseconds spent in the system executing on behalf of this process.

The documentation for this class was generated from the following files: