Vuo  1.0.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
VuoCompilerOutputEventPort Class Reference

Description

A passive (non-trigger) output port, optionally with data.

See Also
{VuoCompilerOutputEventPortClass}

Public Member Functions

 VuoCompilerOutputEventPort (VuoPort *basePort)
 Creates a passive (non-trigger) output port based on portClass.
 
VuoCompilerOutputDatagetData (void)
 Returns this port's data, or NULL if none.
 
- Public Member Functions inherited from VuoCompilerEventPort
void generateAllocation (Module *module, string nodeInstanceIdentifier)
 Generates code to allocate this port.
 
StoreInst * generateStore (Value *value, BasicBlock *block)
 Generates code to set the port's value to value.
 
StoreInst * generateStore (bool pushed, BasicBlock *block)
 Generates code to set the port's value to bool value.
 
string getIdentifier (void)
 Returns a unique, consistent identifier for this port.
 
VuoCompilerTypegetDataType (void)
 Returns the type of this port's data, or NULL if none.
 
- Public Member Functions inherited from VuoCompilerPort
bool hasConnectedCable (bool includePublishedCables) const
 Returns a boolean indicating whether this port has any attached cables.
 
bool hasConnectedDataCable (bool includePublishedCables) const
 Returns a boolean indicating whether this port has any attached data+event cables.
 
VuoTypegetDataVuoType (void)
 Returns tthis port's data type, or null if this port is event-only.
 
void setDataVuoType (VuoType *dataType)
 Sets the data type for this port, overriding the type from the port class.
 
- Public Member Functions inherited from VuoCompilerNodeArgument
virtual LoadInst * generateLoad (BasicBlock *block)
 Generate code to get the port's value.
 
GlobalVariable * getVariable (void)
 Returns the global variable to store the argument's value, if generateAllocation has been called.
 
- Public Member Functions inherited from VuoBaseDetail< VuoPort >
 VuoBaseDetail (string description, VuoPort *base)
 Creates a VuoNode detail class.
 
VuoPortgetBase (void) const
 Returns the VuoNode detail class instance's base class instance.
 
void setBase (VuoPort *base)
 Sets the VuoNode detail class instance's base class instance.
 

Additional Inherited Members

- Protected Member Functions inherited from VuoCompilerEventPort
 VuoCompilerEventPort (VuoPort *basePort)
 Creates a passive (non-trigger) port from the specified portClass.
 
Constant * getBoolConstant (bool value)
 Returns constant with value value.
 
string getVariableBaseName (void)
 Distinguishes the variable for the event from the variable for the data in data-and-event ports.
 
- Protected Attributes inherited from VuoCompilerEventPort
VuoCompilerDatadata
 Optional data stored in this port.
 

Constructor & Destructor Documentation

VuoCompilerOutputEventPort::VuoCompilerOutputEventPort ( VuoPort basePort)

Creates a passive (non-trigger) output port based on portClass.

Member Function Documentation

VuoCompilerOutputData * VuoCompilerOutputEventPort::getData ( void  )
virtual

Returns this port's data, or NULL if none.

Implements VuoCompilerEventPort.


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