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

Description

An input port, optionally with data.

Public Member Functions

 VuoCompilerInputEventPort (VuoPort *basePort)
 Creates an input port based on the specified portClass.
 
VuoCompilerInputDatagetData (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.
 
- 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

VuoCompilerInputEventPort::VuoCompilerInputEventPort ( VuoPort basePort)

Creates an input port based on the specified portClass.

Member Function Documentation

VuoCompilerInputData * VuoCompilerInputEventPort::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: