orocos_cpp
NameService.hpp
Go to the documentation of this file.
1 #ifndef NAMESERVICE_H
2 #define NAMESERVICE_H
3 
4 #include <vector>
5 #include <string>
6 
7 namespace RTT
8 {
9  class TaskContext;
10 };
11 
12 namespace orocos_cpp
13 {
14 
16 {
17 public:
18  virtual ~NameService() {};
23  virtual bool connect() = 0;
24  virtual bool isConnected() = 0;
25 
26  virtual std::vector<std::string> getRegisteredTasks() = 0;
27 
28  virtual bool isRegistered(const std::string &taskName) = 0;
29 
30  virtual RTT::TaskContext *getTaskContext(const std::string &taskName) = 0;
31 };
32 
33 }//end of namespace
34 
35 #endif // NAMESERVICE_H
Definition: ConfigurationHelper.hpp:13
Definition: NameService.hpp:15
virtual ~NameService()
Definition: NameService.hpp:18
Definition: NameService.hpp:7