![]() |
Radium Engine
1.7.0
|
Functions | |
| auto | factory_manager () -> NodeFactorySet & |
| Allow static initialization without init order problems. | |
| auto | register_factory (NodeFactorySet::mapped_type factory) -> bool |
| Register a factory into the manager. The key will be fetched from the factory (its name) | |
| auto | create_factory (const NodeFactorySet::key_type &name) -> NodeFactorySet::mapped_type |
| Create and register a factory to the manager. | |
| auto | factory (const NodeFactorySet::key_type &name) -> NodeFactorySet::mapped_type |
| Gets the given factory from the manager. | |
| auto | unregister_factory (const NodeFactorySet::key_type &name) -> bool |
| Unregister the factory from the manager. | |
| auto | default_factory () -> NodeFactorySet::mapped_type |
| Gets the "default" factory for nodes exported by the Core dataflow library. | |
Implement a NodeFactoryManager that stores a set of factories available to the system. Such a manager will be populated with Core::Dataflow node factories (Specialized sources, specialized sink, ...) and will allow users to register its own factories.
When creating or loading a graph, the set of needed factories should be added beforehand.
| RA_DATAFLOW_CORE_API auto Ra::Dataflow::Core::NodeFactoriesManager::create_factory | ( | const NodeFactorySet::key_type & | name | ) | -> NodeFactorySet::mapped_type |
Create and register a factory to the manager.
| name | The name of the factory to create |
Definition at line 76 of file NodeFactory.cpp.
Here is the call graph for this function:| RA_DATAFLOW_CORE_API auto Ra::Dataflow::Core::NodeFactoriesManager::default_factory | ( | ) | -> NodeFactorySet::mapped_type |
Gets the "default" factory for nodes exported by the Core dataflow library.
Definition at line 97 of file NodeFactory.cpp.
Here is the call graph for this function:| RA_DATAFLOW_CORE_API auto Ra::Dataflow::Core::NodeFactoriesManager::factory | ( | const NodeFactorySet::key_type & | name | ) | -> NodeFactorySet::mapped_type |
Gets the given factory from the manager.
| name | The name of the factory to get |
Definition at line 85 of file NodeFactory.cpp.
Here is the call graph for this function:| RA_DATAFLOW_CORE_API auto Ra::Dataflow::Core::NodeFactoriesManager::factory_manager | ( | ) | -> NodeFactorySet & |
Allow static initialization without init order problems.
Definition at line 67 of file NodeFactory.cpp.
| RA_DATAFLOW_CORE_API auto Ra::Dataflow::Core::NodeFactoriesManager::register_factory | ( | NodeFactorySet::mapped_type | factory | ) | -> bool |
Register a factory into the manager. The key will be fetched from the factory (its name)
Register a factory into the manager. The key will be fetched from the factory (its name)
| factory |
Definition at line 72 of file NodeFactory.cpp.
Here is the call graph for this function:| RA_DATAFLOW_CORE_API auto Ra::Dataflow::Core::NodeFactoriesManager::unregister_factory | ( | const NodeFactorySet::key_type & | name | ) | -> bool |
Unregister the factory from the manager.
| name | The name of the factory to unregister |
Definition at line 93 of file NodeFactory.cpp.
Here is the call graph for this function: