Vuo
1.2.5
|
Information about a trigger port inside a subcomposition that the subcomposition advertises to its containing composition.
Public Member Functions | |
json_object * | getJsonWithinSubcomposition (VuoCompilerNode *subcompositionNode) |
Returns a JSON representation of this trigger description that includes fields for subcompositionNode, the subcomposition that contains the node on which the trigger appears. | |
size_t | getNodeIndex (void) |
Returns the index (in the compiler's list of ordered nodes) of the node on which the trigger port appears. | |
string | getNodeIdentifier (void) |
Returns the identifier of the node on which the trigger port appears. | |
string | getPortName (void) |
Returns the name of the trigger port. | |
int | getPortContextIndex (void) |
Returns the index of this trigger port within its node's port contexts. | |
VuoPortClass::EventThrottling | getEventThrottling (void) |
Returns the event throttling setting of the trigger port. | |
VuoType * | getDataType (void) |
Returns the data type of the trigger port. | |
void | setDataType (VuoType *dataType) |
Sets the data type of the trigger port. | |
void | getWorkerThreadsNeeded (int &minThreadsNeeded, int &maxThreadsNeeded) |
Gives the minimum and maximum number of threads needed for an event from this trigger to propagate through the composition. | |
int | getChainCount (void) |
Returns the number of chains of nodes downstream of the trigger port. | |
string | getSubcompositionNodeClassName (void) |
Returns the node class name of the subcomposition that contains the node on which this trigger appears. | |
string | getSubcompositionNodeIdentifier (void) |
Returns the node identifier of the subcomposition that contains the node on which this trigger appears. | |
Static Public Member Functions | |
static json_object * | getJson (VuoCompilerNode *triggerNode, VuoCompilerTriggerPort *trigger, VuoCompilerGraph *graph) |
Returns a JSON representation of trigger that can later be parsed to create a VuoCompilerTriggerDescription. | |
static vector < VuoCompilerTriggerDescription * > | parseFromJson (json_object *js) |
Parses a JSON array of trigger descriptions. | |
int VuoCompilerTriggerDescription::getChainCount | ( | void | ) |
Returns the number of chains of nodes downstream of the trigger port.
VuoType * VuoCompilerTriggerDescription::getDataType | ( | void | ) |
Returns the data type of the trigger port.
VuoPortClass::EventThrottling VuoCompilerTriggerDescription::getEventThrottling | ( | void | ) |
Returns the event throttling setting of the trigger port.
|
static |
Returns a JSON representation of trigger that can later be parsed to create a VuoCompilerTriggerDescription.
json_object * VuoCompilerTriggerDescription::getJsonWithinSubcomposition | ( | VuoCompilerNode * | subcompositionNode | ) |
Returns a JSON representation of this trigger description that includes fields for subcompositionNode, the subcomposition that contains the node on which the trigger appears.
string VuoCompilerTriggerDescription::getNodeIdentifier | ( | void | ) |
Returns the identifier of the node on which the trigger port appears.
size_t VuoCompilerTriggerDescription::getNodeIndex | ( | void | ) |
Returns the index (in the compiler's list of ordered nodes) of the node on which the trigger port appears.
int VuoCompilerTriggerDescription::getPortContextIndex | ( | void | ) |
Returns the index of this trigger port within its node's port contexts.
string VuoCompilerTriggerDescription::getPortName | ( | void | ) |
Returns the name of the trigger port.
string VuoCompilerTriggerDescription::getSubcompositionNodeClassName | ( | void | ) |
Returns the node class name of the subcomposition that contains the node on which this trigger appears.
string VuoCompilerTriggerDescription::getSubcompositionNodeIdentifier | ( | void | ) |
Returns the node identifier of the subcomposition that contains the node on which this trigger appears.
void VuoCompilerTriggerDescription::getWorkerThreadsNeeded | ( | int & | minThreadsNeeded, |
int & | maxThreadsNeeded | ||
) |
Gives the minimum and maximum number of threads needed for an event from this trigger to propagate through the composition.
|
static |
Parses a JSON array of trigger descriptions.
void VuoCompilerTriggerDescription::setDataType | ( | VuoType * | dataType | ) |
Sets the data type of the trigger port.