A passive (non-trigger) port, optionally with data.
|
Value * | generateCreatePortContext (Module *module, BasicBlock *block) |
| Generates code to create a heap-allocated PortContext. More...
|
|
Value * | generateLoadEvent (Module *module, BasicBlock *block, Value *nodeContextValue, Value *portContextValue=NULL) |
| Generates code to get the current event value for this port. More...
|
|
void | generateStoreEvent (Module *module, BasicBlock *block, Value *nodeContextValue, Value *eventValue, Value *portContextValue=NULL) |
| Generates code to update the event value for this port. More...
|
|
void | generateStoreEvent (Module *module, BasicBlock *block, Value *nodeContextValue, bool event, Value *portContextValue=NULL) |
| Generates code to update the event value for this port. More...
|
|
Value * | generateLoadData (Module *module, BasicBlock *block, Value *nodeContextValue, Value *portContextValue=NULL) |
| Generates code to get the current data value for this port. More...
|
|
void | generateStoreData (Module *module, BasicBlock *block, Value *nodeContextValue, Value *dataValue) |
| Generates code to update the data value for this port. More...
|
|
void | generateReplaceData (Module *module, BasicBlock *block, Value *nodeContextValue, Value *dataValue, Value *portContextValue=NULL) |
| Generates code to update the data value for this port, handling the memory management for replacing the old data value. More...
|
|
virtual VuoCompilerData * | getData (void)=0 |
| Returns this port's data, or NULL if none. More...
|
|
VuoCompilerType * | getDataType (void) |
| Returns the type of this port's data, or NULL if none. More...
|
|
bool | hasConnectedCable (void) const |
| Returns a boolean indicating whether this port has any attached cables. More...
|
|
bool | hasConnectedDataCable (void) const |
| Returns a boolean indicating whether this port has any attached data+event cables. More...
|
|
VuoType * | getDataVuoType (void) |
| Returns this port's data type, or null if this port is event-only. More...
|
|
void | setDataVuoType (VuoType *dataType) |
| Sets the data type for this port, overriding the type from the port class. More...
|
|
void | setNodeIdentifier (string nodeIdentifier) |
| Sets an identifier that will be part of the string returned by getIdentifier(). More...
|
|
virtual string | getIdentifier (void) |
| Returns a unique, consistent identifier for this port. More...
|
|
void | setIndexInPortContexts (int indexInPortContexts) |
| Sets the index of this node within the array of port contexts within the node context. More...
|
|
int | getIndexInPortContexts (void) |
| Returns the index of this node within the array of port contexts within the node context. More...
|
|
void | setConstantStringCache (VuoCompilerConstantStringCache *constantStrings) |
| Sets the cache used to generate constant string values. More...
|
|
Value * | getDataVariable (Module *module, BasicBlock *block, Value *nodeContextValue) |
| Returns the address of the data field within this port's context. More...
|
|
Value * | generateGetPortContext (Module *module, BasicBlock *block, Value *nodeContextValue) |
| Returns this port's context. More...
|
|
virtual | ~VuoCompilerNodeArgument (void) |
| Destructor. More...
|
|
| VuoBaseDetail (string description, VuoPort *base) |
| Creates a detail class. More...
|
|
VuoPort * | getBase (void) const |
| Returns the detail class instance's base class instance. More...
|
|
void | setBase (VuoPort *base) |
| Sets the detail class instance's base class instance. More...
|
|