#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 10 of file GlobalService.cpp.
RTT::internal::GlobalService::~GlobalService | ( | ) | [virtual] |
Definition at line 18 of file GlobalService.cpp.
Definition at line 22 of file GlobalService.cpp.
void RTT::internal::GlobalService::Release | ( | ) | [static] |
Definition at line 28 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 32 of file GlobalService.cpp.