base
CommandSamples.hpp
Go to the documentation of this file.
1 /*
2  * CommandSamples.hpp
3  *
4  * Created on: 24.10.2013
5  * Author: Steffen Planthaber
6  *
7  * A collection of base/commands with timestamps, for use as command feedback and logging
8  * (which command was executed when) or for supervising tasks.
9  *
10  * all definitions may be empty : "class Motion2D : public TimeStamped< commands::Motion2D >{};",
11  * when only set() and getBase() of the TimeStamped template are used in tasks
12  *
13  */
14 
15 #ifndef COMMANDSAMPLES_HPP_
16 #define COMMANDSAMPLES_HPP_
17 
18 #include "../templates/TimeStamped.hpp"
19 #include "../commands/Motion2D.hpp"
20 
21 namespace base{
22  namespace samples {
23 
27  class Motion2D : public TimeStamped< commands::Motion2D >{
28  public:
32  Motion2D ():TimeStamped< commands::Motion2D >(){}
36  Motion2D (const commands::Motion2D &from):TimeStamped< commands::Motion2D >(){
37  this->set(from);
38  }
39  };
40 
41  }//namespace samples
42 }//namespace base
43 
44 
45 
46 #endif /* COMMANDSAMPLES_HPP_ */
Motion2D()
Definition: CommandSamples.hpp:32
Definition: CommandSamples.hpp:27
Motion2D(const commands::Motion2D &from)
Definition: CommandSamples.hpp:36
Definition: Motion2D.hpp:14
Definition: LinearAngular6DCommand.hpp:8