![]() |
0.3.0
|
Data Structures | |
struct | NodeInfo |
Holds information for registered nodes. More... | |
struct | PinInfo |
Holds info of the pins of registered nodes. More... | |
Functions | |
std::shared_ptr< NodeData > | CopyNodeData (const std::shared_ptr< const NodeData > &nodeData) |
Creates a copy of the data. | |
std::vector< std::string > | GetParentNodeDataTypes (const std::string &type) |
Get the Parent Node Data Types of the specified Node Data Type. | |
std::vector< std::string > | GetStaticDataDescriptors (const std::vector< std::string > &dataIdentifier) |
Returns a vector of data descriptors for the pin data identifiers. | |
bool | NodeDataTypeAnyIsChildOf (const std::vector< std::string > &childTypes, const std::vector< std::string > &parentTypes) |
Checks if any of the provided child types is a child of any of the provided parent types. | |
const std::map< std::string, std::vector< NodeInfo > > & | RegisteredNodes () |
Reference to List of all registered Nodes. | |
void | RegisterNodeDataTypes () |
Register all available NodeData types for the program. | |
void | RegisterNodeTypes () |
Register all available Node types for the program. | |
bool | TypeHasDynamicData (const std::string &type) |
Wether the specified Node Data Type can have dynamic data. | |
std::shared_ptr< NAV::NodeData > NAV::NodeRegistry::CopyNodeData | ( | const std::shared_ptr< const NodeData > & | nodeData | ) |
Creates a copy of the data.
nodeData | Node data to copy |
Definition at line 421 of file NodeRegistry.cpp.
std::vector< std::string > NAV::NodeRegistry::GetParentNodeDataTypes | ( | const std::string & | type | ) |
Get the Parent Node Data Types of the specified Node Data Type.
[in] | type | The Child Node Data Type |
Definition at line 142 of file NodeRegistry.cpp.
std::vector< std::string > NAV::NodeRegistry::GetStaticDataDescriptors | ( | const std::vector< std::string > & | dataIdentifier | ) |
Returns a vector of data descriptors for the pin data identifiers.
dataIdentifier | List of data identifiers |
Definition at line 378 of file NodeRegistry.cpp.
bool NAV::NodeRegistry::NodeDataTypeAnyIsChildOf | ( | const std::vector< std::string > & | childTypes, |
const std::vector< std::string > & | parentTypes ) |
Checks if any of the provided child types is a child of any of the provided parent types.
[in] | childTypes | Child types to check parentship |
[in] | parentTypes | Parent types to check parentship |
Definition at line 113 of file NodeRegistry.cpp.
const std::map< std::string, std::vector< NAV::NodeRegistry::NodeInfo > > & NAV::NodeRegistry::RegisteredNodes | ( | ) |
Reference to List of all registered Nodes.
Definition at line 108 of file NodeRegistry.cpp.
void NAV::NodeRegistry::RegisterNodeDataTypes | ( | ) |
Register all available NodeData types for the program.
Definition at line 346 of file NodeRegistry.cpp.
void NAV::NodeRegistry::RegisterNodeTypes | ( | ) |
Register all available Node types for the program.
Definition at line 241 of file NodeRegistry.cpp.
bool NAV::NodeRegistry::TypeHasDynamicData | ( | const std::string & | type | ) |
Wether the specified Node Data Type can have dynamic data.
[in] | type | The Child Node Data Type |
Definition at line 412 of file NodeRegistry.cpp.