RTT::internal::GlobalService Class Reference

#include <GlobalService.hpp>

Inheritance diagram for RTT::internal::GlobalService:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool require (const std::string servicename)
bool require (const std::string servicename)
virtual ~GlobalService ()
virtual ~GlobalService ()

Static Public Member Functions

static RTT_API Service::shared_ptr Instance ()
static RTT_API Service::shared_ptr Instance ()
static RTT_API void Release ()
static RTT_API void Release ()

Private Member Functions

 GlobalService ()
 GlobalService ()

Detailed Description

A process-wide services that hosts services not local to a single component.

Definition at line 18 of file install/include/rtt/internal/GlobalService.hpp.


Constructor & Destructor Documentation

RTT::internal::GlobalService::GlobalService (  )  [private]

Definition at line 6 of file GlobalService.cpp.

RTT::internal::GlobalService::~GlobalService (  )  [virtual]

Definition at line 14 of file GlobalService.cpp.

RTT::internal::GlobalService::GlobalService (  )  [private]
virtual RTT::internal::GlobalService::~GlobalService (  )  [virtual]

Member Function Documentation

static RTT_API Service::shared_ptr RTT::internal::GlobalService::Instance (  )  [static]
Service::shared_ptr RTT::internal::GlobalService::Instance (  )  [static]

Definition at line 18 of file GlobalService.cpp.

static RTT_API void RTT::internal::GlobalService::Release (  )  [static]
void RTT::internal::GlobalService::Release (  )  [static]

Definition at line 24 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.

Parameters:
servicename The name of the service to load
Returns:
true if the service was loaded, false if the servicename was unknown.
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.

Parameters:
servicename The name of the service to load
Returns:
true if the service was loaded, false if the servicename was unknown.

Definition at line 28 of file GlobalService.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtt
Author(s): RTT Developers
autogenerated on Fri Jan 11 09:50:01 2013