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 19 of file GlobalService.cpp.

Definition at line 27 of file GlobalService.cpp.


Member Function Documentation

Definition at line 31 of file GlobalService.cpp.

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.

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

Definition at line 41 of file GlobalService.cpp.


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


rtt
Author(s): RTT Developers
autogenerated on Sat Jun 8 2019 18:46:39