libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
MultiHandOverDisplay.h
1 #ifndef MHO_MULTIHANDOVERDISPLAY_H
2 #define MHO_MULTIHANDOVERDISPLAY_H
3 
4 #include "MultiHandOverUtils.hpp"
5 
6 namespace HRICS {
7 namespace MHO {
8 
10 {
11 public:
14  void playSolutionTrajSyncRT(Task *task);
15 
17  bool updateSolutionTrajSyncStep(Task* task, double time);
18 
21  bool stepForwardSolutionTrajSync(Task* task=0);
22 
25  void setFps(double fps){this->fps=fps;}
26 
27 private:
28  double fps;
29  Task* _current_task;
30  double _current_time;
31 };
32 
33 } // namespace MHO
34 }
35 
36 #endif // MHO_MULTIHANDOVERDISPLAY_H
Definition: MultiHandOverDisplay.h:9
void setFps(double fps)
set the number of frame per second used by playSolutionTrajSyncRT
Definition: MultiHandOverDisplay.h:25
bool updateSolutionTrajSyncStep(Task *task, double time)
return false when nothing to display (end)
Definition: MultiHandOverDisplay.cpp:18
bool stepForwardSolutionTrajSync(Task *task=0)
return false when nothing to display (end) if a task is given, resets the display ...
Definition: MultiHandOverDisplay.cpp:70
Definition: MultiHandOverUtils.hpp:328