47 #ifndef _MIRA_ABSTRACTAUTHORITY_H_ 48 #define _MIRA_ABSTRACTAUTHORITY_H_ 53 #include <boost/noncopyable.hpp> 182 virtual void start() = 0;
185 virtual void stop() = 0;
virtual void stop()=0
Stops/Pauses the authority. To continue call start().
std::string getGlobalID() const
Return the fully qualified global id (includes namespace)
Definition: AuthorityDescription.h:89
std::string getID() const
Return the id of the authority.
Definition: AbstractAuthority.h:119
std::string id
the authority id. will be generated for anonymous authorities
Definition: AuthorityDescription.h:96
virtual ChannelNameMapping getPublishedChannelNames()=0
Returns all published channels (pair of global and local names) by this authority (and its sub-author...
virtual bool hasUnrecoverableFailure() const =0
Returns true, if there was a failure while processing the immediate handlers.
Descriptive informations about an authority.
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
virtual boost::shared_ptr< PropertyNode > getProperties()=0
Returns the main property node of this Authority.
std::string getGlobalName() const
Return the fully qualified global name (includes namespace) This method returns the name without the ...
Definition: AuthorityDescription.h:81
std::multimap< std::string, Status > StatusMap
Definition: Status.h:293
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 name
the name of the authority (equals id for non anonymous authorities)
Definition: AuthorityDescription.h:97
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
virtual std::set< std::string > getSubscribedChannels()=0
Returns all subscribed channels by this authority (and its sub-authorities)
virtual bool isStarted() const =0
Returns true, if the authority was started (by calling start()).
std::string getNamespace() const
Return the resolved namespace of the authority.
Definition: AbstractAuthority.h:92
virtual bool isRunning() const =0
Return if the authority is running.
virtual std::set< std::string > getServiceInterfaces()=0
Returns all service interfaces provided by this authority.
std::string getGlobalName() const
Return the fully qualified global name (includes namespace) This method returns the name without the ...
Definition: AbstractAuthority.h:103
virtual ChannelNameMapping getSubscribedChannelNames()=0
Returns all subscribed channels (pair of global and local names) by this authority (and its sub-autho...
virtual ChannelStatusMap getSubscribedChannelStatus()=0
Returns status for all subscribed channels (ok, no publisher, no data, ...) by this authority (and it...
virtual void start()=0
Starts/Resumes the authority.
ResourceName ns
the full namespace (starting from root) of this authority
Definition: AuthorityDescription.h:95
virtual StatusManager::StatusMap getStatusMap()=0
Return a status map that contains the status of the authority as well as all registered submodules...
virtual std::set< std::string > getPublishedChannels()=0
Returns all published channels by this authority (and its sub-authorities)
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.