Orocos Real-Time Toolkit  2.8.3
GlobalService.hpp
Go to the documentation of this file.
1 
2 #ifndef ORO_GLOBALSERVICE_HPP_
3 #define ORO_GLOBALSERVICE_HPP_
4 
5 #include "../Service.hpp"
6 #include <boost/shared_ptr.hpp>
7 
8 namespace RTT
9 {
10 
11  namespace internal
12  {
13 
19  {
20  GlobalService();
21  public:
22  virtual ~GlobalService();
24  RTT_API static void Release();
25 
35  bool require(const std::string servicename);
36  };
37 
38  }
39 
40 }
41 
42 #endif /* ORO_GLOBALSERVICE_HPP_ */
#define RTT_API
Definition: rtt-config.h:97
boost::shared_ptr< Service > shared_ptr
Definition: Service.hpp:101
This class allows storage and retrieval of operations, ports, attributes and properties provided by a...
Definition: Service.hpp:93
A process-wide services that hosts services not local to a single component.
bool require(const std::string servicename)
Require that a certain service is loaded in the global service.
Contains TaskContext, Activity, OperationCaller, Operation, Property, InputPort, OutputPort, Attribute.
Definition: Activity.cpp:51
static RTT_API Service::shared_ptr Instance()
static RTT_API void Release()