LogManagerBase.h
Go to the documentation of this file.
1 #ifndef __LOG_MANAGER_BASE_H__
2 #define __LOG_MANAGER_BASE_H__
3 
5 {
6 public:
8  m_isPlaying(false), m_isRecording(false), m_playRatio(1.0){}
9  virtual ~LogManagerBase(){}
10  virtual void play() = 0;
11  virtual bool record(double i_fps) = 0;
12  virtual void faster() = 0;
13  virtual void slower() = 0;
14  virtual void head() = 0;
15  virtual void tail() = 0;
16  virtual void prev(int delta) = 0;
17  virtual void next(int delta) = 0;
18  virtual void move(double ratio) = 0;
19  virtual unsigned int length() = 0;
20  virtual double currentTime() = 0;
21  virtual int updateIndex() = 0;
22  virtual int index() = 0;
23  virtual void clear() = 0;
24  virtual double time() = 0;
25  bool isPlaying(){ return m_isPlaying; }
26  bool isRecording(){ return m_isRecording; }
27  double playRatio() { return m_playRatio; }
28  double fps() { return m_fps; }
29 protected:
31  double m_playRatio, m_fps;
32 };
33 #endif
virtual double time()=0
virtual bool record(double i_fps)=0
virtual void slower()=0
virtual ~LogManagerBase()
Definition: LogManagerBase.h:9
virtual void faster()=0
double playRatio()
virtual int index()=0
virtual int updateIndex()=0
virtual void move(double ratio)=0
virtual double currentTime()=0
virtual void next(int delta)=0
virtual void head()=0
virtual void tail()=0
virtual void clear()=0
virtual void prev(int delta)=0
virtual unsigned int length()=0
virtual void play()=0


hrpsys
Author(s): AIST, Fumio Kanehiro
autogenerated on Thu May 6 2021 02:41:50