1 #ifndef ORG_EEROS_CONTROL_TRANSITIONBLOCK_HPP_
2 #define ORG_EEROS_CONTROL_TRANSITIONBLOCK_HPP_
10 template <
typename TObject >
16 object(object), method(method) { }
18 virtual void run() { (
object->*method)(); }
28 virtual void setName(std::string name);
34 virtual void runA() = 0;
35 virtual void runB() = 0;
virtual void setName(std::string name)
Definition: TransitionBlock.cpp:14
void(TObject::*)( TMethod)
Definition: TransitionBlock.hpp:13
virtual void runB()=0
Definition: TransitionBlock.cpp:21
Definition: Runnable.hpp:6
virtual Runnable * getRunnableB()
Definition: TransitionBlock.cpp:18
Definition: TransitionBlock.hpp:24
virtual Runnable * getRunnableA()
Definition: TransitionBlock.cpp:17
virtual void run()
Definition: TransitionBlock.hpp:18
virtual std::string getName()
Definition: TransitionBlock.cpp:15
virtual void runA()=0
Definition: TransitionBlock.cpp:20
TransitionAction(TObject *object, TMethod method)
Definition: TransitionBlock.hpp:15
Definition: TransitionBlock.hpp:11
TransitionBlock()
Definition: TransitionBlock.cpp:7