#include <GlobalService.hpp>
Public Member Functions | |
bool | require (const std::string servicename) |
virtual | ~GlobalService () |
Static Public Member Functions | |
static RTT_API Service::shared_ptr | Instance () |
static RTT_API void | Release () |
Private Member Functions | |
GlobalService () |
A process-wide services that hosts services not local to a single component.
Definition at line 18 of file GlobalService.hpp.
RTT::internal::GlobalService::GlobalService | ( | ) | [private] |
Definition at line 19 of file GlobalService.cpp.
RTT::internal::GlobalService::~GlobalService | ( | ) | [virtual] |
Definition at line 27 of file GlobalService.cpp.
Definition at line 31 of file GlobalService.cpp.
void RTT::internal::GlobalService::Release | ( | ) | [static] |
Definition at line 37 of file GlobalService.cpp.
bool RTT::internal::GlobalService::require | ( | const std::string | servicename | ) |
Require that a certain service is loaded in the global service. You may require the same servicename multiple times. This function will each subsequent time return the same value as the first time it was called with servicename.
servicename | The name of the service to load |
Definition at line 41 of file GlobalService.cpp.