Vuo  0.3
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
VuoCompilerInputData Class Reference

Description

The data for a data-and-event input port.

Public Member Functions

 VuoCompilerInputData (VuoCompilerInputDataClass *dataClass)
 Creates a port data instance based on the specified dataClass.
 
void setInitialValue (string initialValueAsString)
 Sets the initial value of the port data.
 
string getInitialValue (void)
 Returns the string representation of the initial value of the port data.
 
- Public Member Functions inherited from VuoCompilerData
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.
 
string getVariableName (string nodeInstanceIdentifier)
 Returns the variable name of this argument's global variable.
 
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 id, 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 VuoCompilerData
 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 Attributes inherited from VuoCompilerNodeArgument
GlobalVariable * variable
 The global variable in the generated code in which this argument is stored.
 

Member Function Documentation

void VuoCompilerInputData::setInitialValue ( string  initialValueAsString)

Sets the initial value of the port data.

This is the value it has from the time that the graph begins executing until the first time the port data is overwritten.

Parameters
initialValueAsStringString representation of the initial value.

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