Vuo  2.3.2
Public Member Functions | List of all members
VuoCompilerInstanceData Class Reference

Description

The instance data for a node.

See also
{VuoCompilerInstanceDataClass}

Definition at line 21 of file VuoCompilerInstanceData.hh.

Public Member Functions

 VuoCompilerInstanceData (VuoCompilerInstanceDataClass *instanceDataClass)
 Creates instance data for a node, based on the specified instanceDataClass. More...
 
Value * generateLoad (Module *module, BasicBlock *block, Value *nodeContextValue)
 Generates code to get the current value of this instance data. More...
 
void generateStore (Module *module, BasicBlock *block, Value *nodeContextValue, Value *instanceDataValue)
 Generates code to update the value of this instance data. More...
 
Value * getVariable (Module *module, BasicBlock *block, Value *nodeContextValue)
 Generates code to get the address of this instance data. More...
 
Type * getType (void)
 Returns the data type of this instance data. More...
 
- Public Member Functions inherited from VuoCompilerNodeArgument
virtual ~VuoCompilerNodeArgument (void)
 Destructor. More...
 
- Public Member Functions inherited from VuoBaseDetail< VuoPort >
 VuoBaseDetail (string description, VuoPort *base)
 Creates a detail class. More...
 
VuoPortgetBase (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...
 

Additional Inherited Members

- Protected Member Functions inherited from VuoCompilerNodeArgument
 VuoCompilerNodeArgument (VuoPort *basePort)
 Creates an argument instance based on the specified argumentClass. More...
 

Constructor & Destructor Documentation

◆ VuoCompilerInstanceData()

VuoCompilerInstanceData::VuoCompilerInstanceData ( VuoCompilerInstanceDataClass instanceDataClass)

Creates instance data for a node, based on the specified instanceDataClass.

Definition at line 18 of file VuoCompilerInstanceData.cc.

Member Function Documentation

◆ generateLoad()

Value * VuoCompilerInstanceData::generateLoad ( Module *  module,
BasicBlock *  block,
Value *  nodeContextValue 
)

Generates code to get the current value of this instance data.

Definition at line 26 of file VuoCompilerInstanceData.cc.

◆ generateStore()

void VuoCompilerInstanceData::generateStore ( Module *  module,
BasicBlock *  block,
Value *  nodeContextValue,
Value *  instanceDataValue 
)

Generates code to update the value of this instance data.

Definition at line 34 of file VuoCompilerInstanceData.cc.

◆ getType()

Type * VuoCompilerInstanceData::getType ( void  )

Returns the data type of this instance data.

Definition at line 50 of file VuoCompilerInstanceData.cc.

◆ getVariable()

Value * VuoCompilerInstanceData::getVariable ( Module *  module,
BasicBlock *  block,
Value *  nodeContextValue 
)

Generates code to get the address of this instance data.

Definition at line 42 of file VuoCompilerInstanceData.cc.


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