47 #ifndef _MIRA_ABSTRACTAUTHORITY_H_ 48 #define _MIRA_ABSTRACTAUTHORITY_H_ 53 #include <boost/noncopyable.hpp> 93 return mDescription.ns;
104 return mDescription.getGlobalName();
112 return mDescription.getGlobalID();
120 return mDescription.id;
128 return mDescription.name;
150 virtual boost::shared_ptr<PropertyNode> getProperties() = 0;
153 virtual std::set<std::string> getPublishedChannels() = 0;
156 virtual std::set<std::string> getSubscribedChannels() = 0;
159 virtual std::set<std::string> getServiceInterfaces() = 0;
182 virtual void start() = 0;
185 virtual void stop() = 0;
193 virtual bool hasUnrecoverableFailure()
const = 0;
199 virtual bool isStarted()
const = 0;
202 virtual bool isRunning()
const = 0;
Manages the status of one or multiple modules inheriting from DiagnosticsModule.
Definition: Status.h:291
std::string getID() const
Return the id of the authority.
Definition: AbstractAuthority.h:119
Descriptive informations about an authority.
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
std::multimap< std::string, Status > StatusMap
Definition: Status.h:295
std::map< std::string, Status > ChannelStatusMap
Definition: AbstractAuthority.h:141
virtual ~AbstractAuthority()
Definition: AbstractAuthority.h:80
This is the descriptive part of an authority.
Definition: AuthorityDescription.h:61
std::string getGlobalID() const
Return the fully qualified global id (includes namespace)
Definition: AbstractAuthority.h:111
std::string getName() const
Return the name of the authority.
Definition: AbstractAuthority.h:127
#define MIRA_FRAMEWORK_EXPORT
Definition: FrameworkExports.h:61
std::string getNamespace() const
Return the resolved namespace of the authority.
Definition: AbstractAuthority.h:92
std::string getGlobalName() const
Return the fully qualified global name (includes namespace) This method returns the name without the ...
Definition: AbstractAuthority.h:103
const AuthorityDescription & getDescription() const
Return the description of this authority.
Definition: AbstractAuthority.h:134
This is the abstract base class of local and remote authority classes.
Definition: AbstractAuthority.h:76
AuthorityDescription mDescription
Definition: AbstractAuthority.h:206
std::multimap< std::string, std::string > ChannelNameMapping
Definition: AbstractAuthority.h:139
Status and status management classes used for diagnostics.