EEROS  1.0.0.0
API for the EEROS Real-Time Robotics Framework
Lambda.hpp
Go to the documentation of this file.
1 #ifndef ORG_EEROS_TASK_LAMBDA_HPP_
2 #define ORG_EEROS_TASK_LAMBDA_HPP_
3 
4 #include <functional>
6 
7 namespace eeros {
8  namespace task {
9 
10  class Lambda : public Runnable {
11  public:
12  Lambda();
13  Lambda(std::function<void()> f);
14  virtual void run();
15  private:
16  std::function<void()> f;
17  };
18 
19  }
20 }
21 
22 #endif // ORG_EEROS_TASK_LAMBDA_HPP_
Lambda()
Definition: Lambda.cpp:5
Definition: Config.hpp:14
Definition: Runnable.hpp:6
Definition: Lambda.hpp:10
virtual void run()
Definition: Lambda.cpp:7