47 #ifndef _MIRA_UNITMANAGER_H_ 48 #define _MIRA_UNITMANAGER_H_ 73 std::string addThreadGroup(
const ResourceName& ns,
const std::string& name);
85 const std::string& name,
const std::string& threadGroup =
"",
86 bool startAtInit=
true);
91 void removeUnit(
const std::string&
id);
103 void initializeUnits();
113 void stopUnits(
bool destruct=
false);
121 typedef std::tuple<MicroUnitPtr, std::string, std::string, std::string, bool>
UnitEntry;
boost::shared_ptr< MicroUnit > MicroUnitPtr
Definition: MicroUnit.h:254
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
boost::mutex mUnitsMutex
Definition: UnitManager.h:125
Base class for all units.
Class for storing/combining/managing resource names consisting of namespaces and names separated by '...
Definition: ResourceName.h:68
#define MIRA_FRAMEWORK_EXPORT
Definition: FrameworkExports.h:61
std::tuple< MicroUnitPtr, std::string, std::string, std::string, bool > UnitEntry
Definition: UnitManager.h:121
std::list< UnitEntry > UnitList
Definition: UnitManager.h:122
std::map< std::string, boost::shared_ptr< Authority > > mThreadGroups
Definition: UnitManager.h:124
UnitList mUnits
Definition: UnitManager.h:123
Class managing micro units and units.
Definition: UnitManager.h:62