Public Member Functions | Static Public Member Functions | Private Member Functions
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)
virtual ~GlobalService ()

Static Public Member Functions

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

Private Member Functions

 GlobalService ()

Detailed Description

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

Definition at line 18 of file GlobalService.hpp.


Constructor & Destructor Documentation

Definition at line 10 of file GlobalService.cpp.

Definition at line 18 of file GlobalService.cpp.


Member Function Documentation

Definition at line 22 of file GlobalService.cpp.

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.

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

Definition at line 32 of file GlobalService.cpp.


The documentation for this class was generated from the following files:


rtt
Author(s): RTT Developers
autogenerated on Mon Oct 6 2014 03:13:59