src/smp/planner_utils/trajectory.h

Go to the documentation of this file.
00001 
00006 #ifndef _SMP_TRAJECTORY_H_
00007 #define _SMP_TRAJECTORY_H_
00008 
00009 #include<list>
00010 
00011 using namespace std;
00012 
00013 
00014 namespace smp {
00015 
00017 
00024     template< class typeparams >
00025     class trajectory {
00026 
00027         typedef typename typeparams::state state_t;
00028         typedef typename typeparams::input input_t;
00029 
00030     public:
00031     
00033         list< state_t* > list_states;
00034 
00036         list< input_t* > list_inputs;
00037 
00038         trajectory ();
00039         ~trajectory ();
00040 
00042 
00047         int clear ();
00048 
00050 
00055         int clear_delete ();
00056     
00057         // TODO: this may require some interface since it is given to user functions as a parameter.
00058     };
00059 
00060 
00061 }
00062 
00063 #endif