Node factory class.
More...
#include <node.h>
Node factory class.
Singleton node factory for managing node registration and creation
Definition at line 1425 of file node.h.
◆ getCreator()
| std::shared_ptr<NodeCreator> nndeploy::dag::NodeFactory::getCreator |
( |
const std::string & |
node_key | ) |
|
|
inline |
Get node creator.
- Parameters
-
- Returns
- Node creator shared pointer
Definition at line 1460 of file node.h.
◆ getInstance()
| static NodeFactory* nndeploy::dag::NodeFactory::getInstance |
( |
| ) |
|
|
inlinestatic |
Get singleton instance.
- Returns
- Node factory instance pointer
Definition at line 1431 of file node.h.
◆ getNodeKeys()
| std::set<std::string> nndeploy::dag::NodeFactory::getNodeKeys |
( |
| ) |
|
|
inline |
Get all node keys.
- Returns
- Node key set
Definition at line 1475 of file node.h.
◆ registerNode()
| void nndeploy::dag::NodeFactory::registerNode |
( |
const std::string & |
node_key, |
|
|
std::shared_ptr< NodeCreator > |
creator |
|
) |
| |
|
inline |
Register node.
- Parameters
-
| node_key | Node key |
| creator | Node creator shared pointer |
Definition at line 1441 of file node.h.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/nndeploy-zh/checkouts/latest/framework/include/nndeploy/dag/node.h