Vuo  0.4
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
VuoCompilerData Class Reference

Description

The data for a data-and-event port.

Public Member Functions

string getIdentifier (void)
 Returns a unique, consistent identifier for this data.
 
- Public Member Functions inherited from VuoCompilerNodeArgument
virtual void generateAllocation (Module *module, string nodeInstanceIdentifier)
 Generate the allocation of the argument's runtime representation: a global variable to store the argument's value.
 
virtual LoadInst * generateLoad (BasicBlock *block)
 Generate code to get the port's value.
 
virtual StoreInst * generateStore (Value *value, BasicBlock *block)
 Generate code to set 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.
 

Protected Member Functions

 VuoCompilerData (VuoCompilerDataClass *dataClass)
 Creates an instance of data for a data-and-event port.
 
string getVariableBaseName (void)
 Distinguishes the variable for the data from the variable for the event in data-and-event ports.
 
- Protected Member Functions inherited from VuoCompilerNodeArgument
 VuoCompilerNodeArgument (VuoPort *basePort)
 Creates an argument instance based on the specified argumentClass.
 

Additional Inherited Members

- Protected Attributes inherited from VuoCompilerNodeArgument
GlobalVariable * variable
 The global variable in the generated code in which this argument is stored.
 

Member Function Documentation

string VuoCompilerData::getIdentifier ( void  )

Returns a unique, consistent identifier for this data.

Assumes generateAllocation has been called.


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