EEROS  0.4.1.0
API for the EEROS Real-Time Robotics Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TimeDomain.hpp
Go to the documentation of this file.
1 #ifndef ORG_EEROS_CONTROLTIMEDOMAIN_HPP
2 #define ORG_EEROS_CONTROLTIMEDOMAIN_HPP
3 
4 #include <list>
5 #include <string>
8 
9 namespace eeros {
10  namespace control {
11 
12  class TimeDomain : public PeriodicThread {
13  public:
14  TimeDomain(std::string name, double period, bool realtime);
15  virtual void addBlock(Runnable* block);
16 // virtual void sortBlocks();
17 
18  protected:
19  virtual void run();
20 
21  private:
22  std::string name;
23  std::list<Runnable*> blocks;
24  };
25 
26  };
27 };
28 
29 #endif // ORG_EEROS_CONTROLTIMEDOMAIN_HPP
Definition: PeriodicThread.hpp:10
virtual void addBlock(Runnable *block)
Definition: TimeDomain.cpp:15
Definition: Runnable.hpp:6
virtual void run()
Definition: TimeDomain.cpp:9
TimeDomain(std::string name, double period, bool realtime)
Definition: TimeDomain.cpp:5
Definition: TimeDomain.hpp:12