|
CPN
Computational Process Networks
|
The node factory provides a method for the kernel to create arbitrary user defined Nodes. More...
#include <NodeFactory.h>
Collaboration diagram for CPN::NodeFactory:Public Member Functions | |
| NodeFactory (const std::string &name_) | |
| virtual | ~NodeFactory () |
| virtual shared_ptr< NodeBase > | Create (Kernel &ker, const NodeAttr &attr)=0 |
| const std::string & | GetName (void) const |
Private Attributes | |
| const std::string | name |
The node factory provides a method for the kernel to create arbitrary user defined Nodes.
Definition at line 37 of file NodeFactory.h.
| CPN::NodeFactory::NodeFactory | ( | const std::string & | name_ | ) |
Definition at line 29 of file NodeFactory.cc.
|
virtual |
Definition at line 32 of file NodeFactory.cc.
|
pure virtual |
Create a new node for the specific type.
| ker | the kernel |
| attr | attributes for the new node which include the parameters |
Referenced by CPN::Kernel::InternalCreateNode().
Here is the caller graph for this function:
|
inline |
Get the node type name for this factory.
Definition at line 58 of file NodeFactory.h.
|
private |
Definition at line 61 of file NodeFactory.h.
1.8.5