A node class used by the compiler to provide trigger ports corresponding to published input ports.
|
VuoNode * | newNode (string title="", double x=0, double y=0) |
| Creates a substantial base node instance from this node class.
|
|
VuoNode * | newNode (VuoNode *nodeToCopyMetadataFrom) |
| Creates a substantial base node instance with its metadata copied from the existing nodeToCopyMetadataFrom .
|
|
virtual | ~VuoCompilerNodeClass (void) |
| Destructor.
|
|
virtual string | getClassIdentifier (void) |
| The unique class name for this node class, rendered as an identifier in the generated code.
|
|
virtual Function * | getEventFunction (void) |
| Returns an LLVM Function for this node class's implementation of the nodeEvent or nodeInstanceEvent function.
|
|
virtual Function * | getInitFunction (void) |
| If this node class is stateful, returns an LLVM Function for this node class's implementation of the nodeInstanceInit function.
|
|
virtual Function * | getFiniFunction (void) |
| If this node class is stateful, returns an LLVM Function for this node class's implementation of the nodeInstanceFini function.
|
|
virtual Function * | getCallbackStartFunction (void) |
| If this node class is stateful, returns an LLVM Function for this node class's implementation of the nodeInstanceTriggerStart function.
|
|
virtual Function * | getCallbackUpdateFunction (void) |
| If this node class is stateful, returns an LLVM Function for this node class's implementation of the nodeInstanceTriggerUpdate function.
|
|
virtual Function * | getCallbackStopFunction (void) |
| If this node class is stateful, returns an LLVM Function for this node class's implementation of the nodeInstanceTriggerStop function.
|
|
virtual
VuoCompilerInstanceDataClass * | getInstanceDataClass (void) |
| If this node class is stateful, returns the instance data class.
|
|
virtual string | getDoxygenDocumentation (void) |
| Returns a string containing documentation for this node class in Doxygen format.
|
|
virtual string | getDefaultSpecializedTypeName (string genericTypeName) |
| If this node class is generic, returns the default specialized types to replace the generic type with when creating an instance.
|
|
virtual vector< string > | getAutomaticKeywords (void) |
| Returns a list of keywords automatically associated with this node class, based on attributes such as its port classes and premium status.
|
|
| VuoCompilerNodeClass (string className, Module *module) |
| Creates a node class implementation from an LLVM module, and creates its corresponding base VuoNodeClass .
|
|
| VuoCompilerNodeClass (VuoCompilerNodeClass *compilerNodeClass) |
| Creates a new compiler node class and creates a new base VuoNodeClass , both from compilerNodeClass.
|
|
| VuoCompilerNodeClass (VuoNodeClass *baseNodeClass) |
| Creates a new implementation-less compiler node class, using the given node class for its base VuoNodeClass.
|
|
VuoPortClass * | getInputPortClassWithName (string portName) |
| Returns the input port class matching the specified portName , if one exists.
|
|
VuoPortClass * | getOutputPortClassWithName (string portName) |
| Returns the output port class matching the specified portName , if one exists.
|
|
static void | parseGenericTypes (json_object *moduleDetails, map< string, string > &defaultSpecializedForGenericTypeName, map< std::string, vector< std::string > > &compatibleSpecializedForGenericTypeName) |
| Parses the "genericTypes" portion of a node class's metadata.
|
|
map< string, string > | defaultSpecializedForGenericTypeName |
| If this node class is generic, use these specialized types when creating an instance.
|
|