MIRA
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
AuthorityDescription Class Reference

This is the descriptive part of an authority. More...

#include <fw/AuthorityDescription.h>

Public Member Functions

template<typename Reflector >
void reflect (Reflector &r)
 
std::string getGlobalName () const
 Return the fully qualified global name (includes namespace) This method returns the name without the trailing UUID added if the authority is anonymous. More...
 
std::string getGlobalID () const
 Return the fully qualified global id (includes namespace) More...
 

Public Attributes

ResourceName ns
 the full namespace (starting from root) of this authority More...
 
std::string id
 the authority id. will be generated for anonymous authorities More...
 
std::string name
 the name of the authority (equals id for non anonymous authorities) More...
 

Detailed Description

This is the descriptive part of an authority.

It stores name, id and namespace.

Member Function Documentation

void reflect ( Reflector &  r)
inline
std::string getGlobalName ( ) const
inline

Return the fully qualified global name (includes namespace) This method returns the name without the trailing UUID added if the authority is anonymous.

Returns
Global Name
std::string getGlobalID ( ) const
inline

Return the fully qualified global id (includes namespace)

Returns
Global ID

Member Data Documentation

the full namespace (starting from root) of this authority

std::string id

the authority id. will be generated for anonymous authorities

std::string name

the name of the authority (equals id for non anonymous authorities)


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