|
CPN
Computational Process Networks
|
Attributes for a node. More...
#include <NodeAttr.h>
Collaboration diagram for CPN::NodeAttr:Public Member Functions | |
| NodeAttr (const std::string &name_, const std::string &nodetype_) | |
| NodeAttr & | SetName (const std::string &name_) |
| NodeAttr & | SetTypeName (const std::string &nodetype_) |
| NodeAttr & | SetKernel (const std::string &kname) |
| NodeAttr & | SetKernelKey (Key_t k) |
| NodeAttr & | SetParam (const std::string &key, const std::string value) |
| template<typename T > | |
| NodeAttr & | SetParam (const std::string &key, T value) |
| NodeAttr & | SetKey (Key_t key_) |
| const std::string & | GetKernel () const |
| Key_t | GetKernelKey () const |
| const std::string & | GetName () const |
| const std::string & | GetTypeName () const |
| const std::map< std::string, std::string > & | GetParams () const |
| Key_t | GetKey () const |
Private Attributes | |
| std::string | kernelname |
| Key_t | kernelkey |
| std::string | name |
| std::string | nodetype |
| std::map< std::string, std::string > | params |
| Key_t | key |
Attributes for a node.
This structure contains all the attributes and parameters a node needs to start up. Note that this structure is used to pass to the Kernel to create a node and that fields like key are set by the Kernel.
The only required parameters are the name and node type.
The other parameters that the user may set are:
The kernel for the node can be set as either the kernel name or the kernel key. If the kernel key is set kernel name is ignored. See SetKernel and SetKernelKey.
The parameters sent to the node. See SetParam and GetParam
Note that the key attribute are set by the kernel when the node is to be created and such are overwritten.
Definition at line 58 of file NodeAttr.h.
|
inline |
Definition at line 60 of file NodeAttr.h.
|
inline |
Definition at line 107 of file NodeAttr.h.
Referenced by CPN::Kernel::CreateNode(), and CPN::RemoteContextClient::SendCreateNode().
Here is the caller graph for this function:
|
inline |
Definition at line 108 of file NodeAttr.h.
Referenced by CPN::Kernel::CreateNode().
Here is the caller graph for this function:
|
inline |
Definition at line 116 of file NodeAttr.h.
Referenced by CPN::Kernel::InternalCreateNode(), and CPN::RemoteContextClient::SendCreateNode().
Here is the caller graph for this function:
|
inline |
Definition at line 110 of file NodeAttr.h.
Referenced by CPN::Kernel::CreateNode(), CPN::VariantCPNLoader::LoadNode(), and CPN::RemoteContextClient::SendCreateNode().
Here is the caller graph for this function:
|
inline |
Definition at line 114 of file NodeAttr.h.
Referenced by CPN::RemoteContextClient::SendCreateNode().
Here is the caller graph for this function:
|
inline |
Definition at line 112 of file NodeAttr.h.
Referenced by CPN::Kernel::InternalCreateNode(), and CPN::RemoteContextClient::SendCreateNode().
Here is the caller graph for this function:
|
inline |
Definition at line 79 of file NodeAttr.h.
Referenced by CPN::VariantCPNLoader::LoadNode(), and CPN::MsgToNodeAttr().
Here is the caller graph for this function:Definition at line 84 of file NodeAttr.h.
Referenced by CPN::Kernel::CreateNode().
Here is the caller graph for this function:Definition at line 102 of file NodeAttr.h.
Referenced by CPN::Kernel::CreateNode(), and CPN::MsgToNodeAttr().
Here is the caller graph for this function:
|
inline |
Definition at line 69 of file NodeAttr.h.
|
inline |
Definition at line 89 of file NodeAttr.h.
Referenced by CPN::VariantCPNLoader::LoadNode(), and CPN::MsgToNodeAttr().
Here is the caller graph for this function:
|
inline |
Definition at line 95 of file NodeAttr.h.
|
inline |
Definition at line 74 of file NodeAttr.h.
|
private |
Definition at line 120 of file NodeAttr.h.
|
private |
Definition at line 119 of file NodeAttr.h.
|
private |
Definition at line 124 of file NodeAttr.h.
|
private |
Definition at line 121 of file NodeAttr.h.
|
private |
Definition at line 122 of file NodeAttr.h.
|
private |
Definition at line 123 of file NodeAttr.h.
1.8.5