COOLFluiD
Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
|
#include <Protocol.hpp>
Inherits NonInstantiable< Protocol >.
Classes | |
class | Tags |
Static Public Member Functions | |
static XmlNode | goto_doc_node (const XmlNode &node) |
static XmlNode | first_frame_node (const XmlNode &node) |
static XmlNode | add_signal_frame (XmlNode &node, const std::string &target, const URI &sender, const URI &receiver, bool user_transaction) |
static XmlNode | add_reply_frame (XmlNode &node) |
static boost::shared_ptr< XmlDoc > | create_doc () |
Provides functions for basic XML protocol manipulations.
Definition at line 26 of file Protocol.hpp.
Adds a reply frame parallel to the XmlNode passed. It will set automatically the type attrribute. It will try to set the receiver and the target from the signal to which it is answering.
node | Signal frame node to which a reply has to added. |
Definition at line 135 of file Protocol.cpp.
|
static |
Adds a signal frame within the XmlNode passed ( typically a doc ). It will set automatically the type attribute.
node | The node in which to add the new frame. |
target | The target (signal name). |
sender | Path to the sender component. |
receiver | Path to the receiver component. |
user_transaction | If true , the signal was initiated from a user transaction. |
Definition at line 114 of file Protocol.cpp.
|
static |
Creates a new XmlDoc.
Definition at line 177 of file Protocol.cpp.
Searches for a frame node.
node | Node under which to search. |
Definition at line 105 of file Protocol.cpp.
Searches for a document node after the XML declaration.
The | node under which to search. |
XmlError | If a such node was not found. |
Definition at line 72 of file Protocol.cpp.
Send comments to: COOLFluiD Web Admin |