#include <CommonNodeFactory.h>
Inheritance diagram for ot::CommonNodeFactory:


Public Member Functions | |
| CommonNodeFactory () | |
| virtual | ~CommonNodeFactory () |
| virtual Node * | createNode (const std::string &name, StringTable &attributes) |
Static Public Member Functions | |
| static bool | isKnownNode (std::string nodeName) |
Static Protected Member Functions | |
| static int | parseVector (const std::string &line, float *val) |
| static int | parseRotation (const std::string &line, const std::string &type, float *val) |
Protected Attributes | |
| std::vector< std::string > | nodePorts |
| stores names of known NodePorts, to make instantiation more generic | |
Static Protected Attributes | |
| static std::vector< std::string > | knownNodes |
|
|
constructor method. Initalizes the wrapperNodes array. |
|
|
destructor |
|
||||||||||||
|
creates the described node types.
Implements ot::NodeFactory. |
|
|
|
|
||||||||||||||||
|
parses a string for a rotation, where the type is defined by a second string, returns int value indicating an error. If an error occurs, the val values are not changed.
|
|
||||||||||||
|
parses a string for a three component vector, returns int value indicating an error. If an error occurs, the val values are not changed.
|
|
|
|
|
|
stores names of known NodePorts, to make instantiation more generic
|
1.4.6