TwiceAsNice
2019-02-18
|
Static Public Member Functions | |
static void | resetDeviceMap () |
static void | resetDeviceMap () |
![]() | |
static void | destroy () |
remove the stack of the workers and devices. Since the maps are cleared, the workers and devices are destructed (in the C++ sense) More... | |
static void | loadAllDevices (const Nice::JointPtr &_config) |
Add all configured devices to the list of devices. More... | |
static void | addDevice (const std::string &_name, const DevicePtr &_device) |
Add a single device to the list of devices. More... | |
static DeviceMap & | devices () |
static Device * | rawdevice (const std::string &_n) |
search a device by name More... | |
template<typename DeviceType > | |
static IceUtil::Handle< DeviceType > | device (const std::string &_n) |
search a device by name More... | |
static void | loadAllServices (const Nice::JointPtr &_config) |
load services recognizing NAME and STATE in the configuration. More... | |
static void | addWorker (const std::string &_name, const ServiceWorkerPtr &_worker) |
Add a worker to the list of known workers. More... | |
static void | startAllWorker () |
start sequentially all workers known in the list. More... | |
static WorkerList & | worker () |
static WorkerMap & | workers () |
static ServiceWorker * | rawworker (const char *_n) |
search a worker by name More... | |
template<typename WorkerType > | |
static IceUtil::Handle< WorkerType > | worker (const std::string &_n) |
search a worker by name More... | |
template<typename WorkerTypeIf > | |
static IceUtil::Handle< WorkerTypeIf > | service (const std::string &_n) |
create a worker by name More... | |
static void | destroy () |
static void | loadAllDevices (const Nice::JointPtr &_config) |
static void | addDevice (const std::string &_name, const DevicePtr &_device) |
static DeviceMap & | devices () |
static Device * | rawdevice (const std::string &_n) |
search a device by name More... | |
template<typename DeviceType > | |
static IceUtil::Handle< DeviceType > | device (const std::string &_n) |
search a device by name More... | |
static void | loadAllServices (const Nice::JointPtr &_config) |
static void | addWorker (const std::string &_name, const ServiceWorkerPtr &_worker) |
static void | startAllWorker () |
static WorkerList & | worker () |
static WorkerMap & | workers () |
static ServiceWorker * | rawworker (const char *_n) |
search a worker by name More... | |
template<typename WorkerType > | |
static IceUtil::Handle< WorkerType > | worker (const std::string &_n) |
search a worker by name More... | |
template<typename WorkerTypeIf > | |
static IceUtil::Handle< WorkerTypeIf > | service (const std::string &_n) |
create a worker by name More... | |
Additional Inherited Members | |
![]() | |
static WorkerMap | s_workers |
The map that associates names with workers. More... | |
static WorkerList | s_worker |
The vector of workers. More... | |
static DeviceMap | s_devices |
The loaded devices mapped by name. More... | |
|
inlinestatic |
|
inlinestatic |