|
CPN
Computational Process Networks
|
Inheritance diagram for CPN::ExternalEndpoint:
Collaboration diagram for CPN::ExternalEndpoint:Public Member Functions | |
| ExternalEndpoint (const std::string &name, Key_t nodekey, shared_ptr< Context > context, bool iswriter_) | |
| virtual | ~ExternalEndpoint () |
| bool | IsWriter () const |
| const std::string & | GetName () const |
| Key_t | GetKey () const |
| shared_ptr< QueueReader > | GetIQueue (const std::string &portname) |
| This method is for use by the user to aquire a reader endpoint. This function blocks until the CPN::Kernel hands this node the queue associated with the endpoint. More... | |
| shared_ptr< QueueWriter > | GetOQueue (const std::string &portname) |
| This method is for use by the user to aquire a writer endpoint. This function blocks until the CPN::Kernel hands this node the queue associated with the endpoint. More... | |
| void | CreateReader (shared_ptr< QueueBase > q) |
| for use by the CPN::Kernel to create a new read endpoint. More... | |
| void | CreateWriter (shared_ptr< QueueBase > q) |
| for use by the CPN::Kernel to create a new writer endpoint. More... | |
| void | NotifyTerminate () |
| Called by the kernel when it is shutting down. More... | |
| virtual void | Shutdown () |
| Perform actions (like joining a thread) before destruction. More... | |
| virtual bool | IsPurePseudo () |
| virtual void | LogState () |
| For debugging ONLY! More... | |
Protected Attributes | |
| Logger | logger |
Private Attributes | |
| bool | iswriter |
|
inline |
Definition at line 168 of file Kernel.cc.
|
inlinevirtual |
|
inherited |
for use by the CPN::Kernel to create a new read endpoint.
Definition at line 55 of file PseudoNode.cc.
References ASSERT, CPN::PseudoNode::cond, CPN::PseudoNode::d4rnode, CPN::PseudoNode::lock, CPN::PseudoNode::readermap, and Sync::ReentrantCondition::Signal().
Here is the call graph for this function:
|
inherited |
for use by the CPN::Kernel to create a new writer endpoint.
Definition at line 68 of file PseudoNode.cc.
References ASSERT, CPN::PseudoNode::cond, CPN::PseudoNode::d4rnode, CPN::PseudoNode::lock, Sync::ReentrantCondition::Signal(), and CPN::PseudoNode::writermap.
Here is the call graph for this function:
|
inherited |
This method is for use by the user to aquire a reader endpoint. This function blocks until the CPN::Kernel hands this node the queue associated with the endpoint.
| portname | the port name of the reader to get. |
Definition at line 43 of file PseudoNode.cc.
References CPN::PseudoNode::context, CPN::PseudoNode::GetReader(), and CPN::PseudoNode::nodekey.
Here is the call graph for this function:
|
inlineinherited |
Definition at line 43 of file PseudoNode.h.
Referenced by CPN::NodeBase::EntryPoint().
Here is the caller graph for this function:
|
inlineinherited |
Definition at line 40 of file PseudoNode.h.
Referenced by CPN::NodeBase::EntryPoint(), and CPN::NodeBase::GetParam().
Here is the caller graph for this function:
|
inherited |
This method is for use by the user to aquire a writer endpoint. This function blocks until the CPN::Kernel hands this node the queue associated with the endpoint.
| portname | the port name fo the writer to get. |
Definition at line 49 of file PseudoNode.cc.
References CPN::PseudoNode::context, CPN::PseudoNode::GetWriter(), and CPN::PseudoNode::nodekey.
Here is the call graph for this function:
|
virtualinherited |
Reimplemented in CPN::NodeBase.
Definition at line 163 of file PseudoNode.cc.
|
inline |
|
virtualinherited |
For debugging ONLY!
Reimplemented in CPN::NodeBase.
Definition at line 167 of file PseudoNode.cc.
References D4R::Tag::Count(), CPN::PseudoNode::d4rnode, Logger::Error(), D4R::Tag::Key(), CPN::PseudoNode::logger, CPN::PseudoNode::nodekey, D4R::Tag::QueueKey(), D4R::Tag::QueueSize(), CPN::PseudoNode::readermap, and CPN::PseudoNode::writermap.
Referenced by CPN::NodeBase::LogState().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inherited |
Called by the kernel when it is shutting down.
Definition at line 123 of file PseudoNode.cc.
References CPN::PseudoNode::cond, CPN::PseudoNode::lock, CPN::PseudoNode::readermap, Sync::ReentrantCondition::Signal(), and CPN::PseudoNode::writermap.
Here is the call graph for this function:
|
virtualinherited |
Perform actions (like joining a thread) before destruction.
Reimplemented in CPN::NodeBase.
Definition at line 81 of file PseudoNode.cc.
References CPN::PseudoNode::lock, CPN::PseudoNode::readermap, AutoLock< Lockable >::Unlock(), and CPN::PseudoNode::writermap.
Referenced by CPN::NodeBase::Shutdown().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 175 of file Kernel.cc.
Referenced by IsWriter().
|
protectedinherited |
Definition at line 76 of file PseudoNode.h.
Referenced by CPN::NodeBase::EntryPoint(), CPN::PseudoNode::LogState(), and CPN::NodeBase::LogState().
1.8.5