User Manual, Developers Guide and API Documentation

wns::node::component::FQSN Class Reference

Fully Qualified Service Name. More...

#include <node/component/FQSN.hpp>

Collaboration diagram for wns::node::component::FQSN:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 FQSN (const std::string &_nodeName, const std::string &_serviceName)
 Construct from two strings.
 FQSN (const pyconfig::View &pyco)
 Construct from pyconfig::View.
std::string getNodeName () const
 Retrieve the node name.
std::string getServiceName () const
 Retrieve the component name.

Private Attributes

std::string nodeName
std::string serviceName

Friends

std::ostream & operator<< (std::ostream &str, const FQSN &fqsn)
 output stream operator (for nice Message, etc)


Detailed Description

This is used to identify services within a simulation. The node + service name is unique.

Definition at line 43 of file FQSN.hpp.


Constructor & Destructor Documentation

FQSN::FQSN ( const pyconfig::View pyco  )  [explicit]

Definition at line 35 of file FQSN.cpp.

FQSN::FQSN ( const std::string &  _nodeName,
const std::string &  _serviceName 
)

Definition at line 43 of file FQSN.cpp.


Member Function Documentation

std::string FQSN::getNodeName (  )  const

Definition at line 51 of file FQSN.cpp.

std::string FQSN::getServiceName (  )  const

Definition at line 57 of file FQSN.cpp.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  str,
const FQSN fqsn 
) [friend]

Definition at line 75 of file FQSN.hpp.


Member Data Documentation

std::string wns::node::component::FQSN::nodeName [private]

Definition at line 82 of file FQSN.hpp.

Definition at line 83 of file FQSN.hpp.


The documentation for this class was generated from the following files:

Generated on Sun May 27 03:33:01 2012 for openWNS by  doxygen 1.5.5