OpenJAUS Software Development Kit  4.3.1
Public Member Functions | Static Public Attributes | Protected Attributes | Friends | List of all members
openjaus::model::SubsystemInfo Class Reference

This is a brief description. More...

#include <SubsystemInfo.h>

Public Member Functions

 SubsystemInfo ()
 
virtual ~SubsystemInfo ()
 
 SubsystemInfo (const SubsystemInfo &copy)
 
std::string getName () const
 Accessor to get the value of name. More...
 
bool setName (std::string name)
 Accessor to set value of name. More...
 
int getId () const
 Accessor to get the value of id. More...
 
bool setId (int id)
 Accessor to set value of id. More...
 
const std::map< unsigned char, NodeInfo *> & getNodes () const
 Accessor to get the value of nodes. More...
 
bool addNode (NodeInfo *node)
 Operation addNode. More...
 
virtual std::string toString () const
 
std::string toXml (unsigned char level=0) const
 
std::vector< transport::AddresslookupService (std::string uri, int versionMajor, int versionMinor, transport::Address &addressHint)
 
std::vector< transport::AddresslookupComponent (std::string name, transport::Address &addressHint)
 

Static Public Attributes

static const unsigned short MINIMUM_ID = 1
 
static const unsigned short MAXIMUM_ID = 65534
 

Protected Attributes

std::string name
 
int id
 
std::map< unsigned char, NodeInfo *> nodes
 

Friends

OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const SubsystemInfo &object)
 
OPENJAUS_EXPORT friend std::ostream & operator<< (std::ostream &output, const SubsystemInfo *object)
 

Detailed Description

Detailed description.

Author
Name (name@.nosp@m.emai.nosp@m.l.com)

Constructor & Destructor Documentation

§ SubsystemInfo() [1/2]

openjaus::model::SubsystemInfo::SubsystemInfo ( )

§ ~SubsystemInfo()

openjaus::model::SubsystemInfo::~SubsystemInfo ( )
virtual

§ SubsystemInfo() [2/2]

openjaus::model::SubsystemInfo::SubsystemInfo ( const SubsystemInfo copy)

Member Function Documentation

§ addNode()

bool openjaus::model::SubsystemInfo::addNode ( NodeInfo node)
Parameters
node

§ getId()

int openjaus::model::SubsystemInfo::getId ( ) const

§ getName()

std::string openjaus::model::SubsystemInfo::getName ( void  ) const

§ getNodes()

const std::map< unsigned char, NodeInfo *> & openjaus::model::SubsystemInfo::getNodes ( ) const

§ lookupComponent()

std::vector< transport::Address > openjaus::model::SubsystemInfo::lookupComponent ( std::string  name,
transport::Address addressHint 
)

§ lookupService()

std::vector< transport::Address > openjaus::model::SubsystemInfo::lookupService ( std::string  uri,
int  versionMajor,
int  versionMinor,
transport::Address addressHint 
)

§ setId()

bool openjaus::model::SubsystemInfo::setId ( int  id)
Parameters
idThe value of the new id.

§ setName()

bool openjaus::model::SubsystemInfo::setName ( std::string  name)
Parameters
nameThe value of the new name.

§ toString()

std::string openjaus::model::SubsystemInfo::toString ( ) const
virtual

§ toXml()

std::string openjaus::model::SubsystemInfo::toXml ( unsigned char  level = 0) const

Friends And Related Function Documentation

§ operator<< [1/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const SubsystemInfo object 
)
friend

§ operator<< [2/2]

OPENJAUS_EXPORT friend std::ostream& operator<< ( std::ostream &  output,
const SubsystemInfo object 
)
friend

Member Data Documentation

§ id

int openjaus::model::SubsystemInfo::id
protected

§ MAXIMUM_ID

const unsigned short openjaus::model::SubsystemInfo::MAXIMUM_ID = 65534
static

§ MINIMUM_ID

const unsigned short openjaus::model::SubsystemInfo::MINIMUM_ID = 1
static

§ name

std::string openjaus::model::SubsystemInfo::name
protected

§ nodes

std::map< unsigned char, NodeInfo * > openjaus::model::SubsystemInfo::nodes
protected

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