EEROS  0.4.1.0
API for the EEROS Real-Time Robotics Framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SequenceResult.hpp
Go to the documentation of this file.
1 #ifndef ORG_EEROS_SEQUENCER_SEQUENCERESULT_HPP_
2 #define ORG_EEROS_SEQUENCER_SEQUENCERESULT_HPP_
3 
4 namespace eeros {
5  namespace sequencer {
6  namespace result {
8  }
9 
11  public:
12  SequenceBaseResult(result::type result) : result(result) { }
14  };
15 
16  template<typename Treturn>
18  public:
20  SequenceResult(Treturn value) : SequenceBaseResult(result::success), value(value) { }
21  SequenceResult(result::type result, Treturn value) : SequenceBaseResult(result), value(value) { }
22 
23  Treturn value;
24  };
25 
26  template<>
27  class SequenceResult<void> : public SequenceBaseResult {
28  public:
30  };
31 
32  }
33 }
34 
35 #endif // ORG_EEROS_SEQUENCER_SEQUENCERESULT_HPP_
result::type result
Definition: SequenceResult.hpp:13
Definition: SequenceResult.hpp:7
Definition: SequenceResult.hpp:7
type
Definition: SequenceResult.hpp:7
SequenceResult(result::type result)
Definition: SequenceResult.hpp:19
Definition: SequenceResult.hpp:7
Definition: SequenceResult.hpp:17
Definition: SequenceResult.hpp:10
SequenceResult(result::type result, Treturn value)
Definition: SequenceResult.hpp:21
SequenceResult(result::type result)
Definition: SequenceResult.hpp:29
Treturn value
Definition: SequenceResult.hpp:23
SequenceResult(Treturn value)
Definition: SequenceResult.hpp:20
SequenceBaseResult(result::type result)
Definition: SequenceResult.hpp:12