Vuo
1.2.0
|
This class represents a published port in a composition.
Published ports are visible to clients of the composition, for example to a VuoRunner
running the composition or to another composition in which this composition is a subcomposition.
Public Member Functions | |
VuoPublishedPort (VuoPortClass *portClass) | |
Creates a published port that is not yet connected to any port in a running composition. | |
void | setProtocolPort (bool protocolPort) |
Sets whether this port is part of any active protocol. | |
bool | isProtocolPort (void) |
Returns true if this port is part of any active protocol. | |
![]() | |
VuoPort (VuoPortClass *portClass) | |
Creates a base port instance from a portClass . | |
virtual | ~VuoPort (void) |
to make this class dynamic_cast-able | |
VuoPortClass * | getClass (void) |
Returns the argument class of this argument. | |
vector< VuoCable * > | getConnectedCables (bool includePublishedCables=true) |
Returns the cables connected to this port. | |
void | addConnectedCable (VuoCable *cable) |
Adds a connected cable. | |
void | removeConnectedCable (VuoCable *cable) |
Removes a connected cable. | |
VuoCable * | getCableConnecting (VuoPort *otherPort) |
Returns the cable connecting this port to or from the provided otherPort , or NULL if no such cable exists. | |
VuoPortClass::EventThrottling | getEventThrottling (void) |
Returns the event-throttling behavior of this port. | |
void | setEventThrottling (VuoPortClass::EventThrottling eventThrottling) |
Sets the event-throttling behavior of this port. | |
void | print (void) |
Prints info about this port, for debugging. | |
![]() | |
VuoBase (string id) | |
Creates a VuoPort base class. | |
void | setCompiler (VuoCompilerNodeArgument *compiler) |
Sets the VuoPort base class instance's VuoCompilerNodeArgument detail class instance. | |
VuoCompilerNodeArgument * | getCompiler (void) const |
Returns the VuoPort base class instance's VuoCompilerNodeArgument detail class instance. | |
bool | hasCompiler (void) const |
Returns true if this base class instance has a compiler detail. | |
void | setRenderer (VuoRendererPort *renderer) |
Sets the VuoPort base class instance's VuoRendererPort detail class instance. | |
VuoRendererPort * | getRenderer (void) const |
Returns the VuoPort base class instance's VuoRendererPort detail class instance. | |
bool | hasRenderer (void) const |
Returns true if this base class instance has a renderer detail. | |
VuoPublishedPort::VuoPublishedPort | ( | VuoPortClass * | portClass | ) |
Creates a published port that is not yet connected to any port in a running composition.
bool VuoPublishedPort::isProtocolPort | ( | void | ) |
Returns true if this port is part of any active protocol.
void VuoPublishedPort::setProtocolPort | ( | bool | protocolPort | ) |
Sets whether this port is part of any active protocol.