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

Description

An input port type, optionally with data.

Public Member Functions

 VuoCompilerInputEventPortClass (string name, Type *type)
 Creates an input port type with the specified data type type.
 
 VuoCompilerInputEventPortClass (string name)
 Creates an input port type.
 
VuoCompilerPortnewPort (void)
 Creates an input port based on this port type, and creates its corresponding base VuoPort.
 
VuoCompilerPortnewPort (VuoPort *port)
 Creates an input port based on this port type, using the pre-existing port as its base.
 
VuoCompilerInputDataClassgetDataClass (void)
 Returns the data class for this port.
 
- Public Member Functions inherited from VuoCompilerEventPortClass
VuoCompilerDataClassgetDataClass (void)
 Returns this port's data class, or NULL if none.
 
void setDataClass (VuoCompilerDataClass *dataClass)
 Sets this port's data class.
 
VuoTypegetDataVuoType (void)
 Returns the type of data carried by this port, or null if this port is event-only.
 
void setDataVuoType (VuoType *type)
 Sets the type of the data carried by this port.
 

Additional Inherited Members

- Protected Member Functions inherited from VuoCompilerEventPortClass
 VuoCompilerEventPortClass (string name, Type *type)
 Creates a passive (non-trigger) port with the specified data type type.
 
 VuoCompilerEventPortClass (string name)
 Creates a passive (non-trigger) port.
 
- Protected Attributes inherited from VuoCompilerEventPortClass
VuoCompilerDataClassdataClass
 This port's optional data class.
 

Constructor & Destructor Documentation

VuoCompilerInputEventPortClass::VuoCompilerInputEventPortClass ( string  name,
Type *  type 
)

Creates an input port type with the specified data type type.

VuoCompilerInputEventPortClass::VuoCompilerInputEventPortClass ( string  name)

Creates an input port type.

Member Function Documentation

VuoCompilerInputDataClass * VuoCompilerInputEventPortClass::getDataClass ( void  )

Returns the data class for this port.

NULL if the port is event-only.

VuoCompilerPort * VuoCompilerInputEventPortClass::newPort ( void  )
virtual

Creates an input port based on this port type, and creates its corresponding base VuoPort.

Implements VuoCompilerPortClass.

VuoCompilerPort * VuoCompilerInputEventPortClass::newPort ( VuoPort port)
virtual

Creates an input port based on this port type, using the pre-existing port as its base.

Implements VuoCompilerPortClass.


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