AnimatLab  2
Test
SimulationRecorder.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace AnimatSim
10 {
11 
18  namespace Recording
19  {
26  class ANIMAT_PORT SimulationRecorder : public ActivatedItemMgr
27  {
28  protected:
30  CStdArray<KeyFrame *> m_aryVideoFrames;
31 
33  CStdArray<KeyFrame *> m_arySingleFrames;
34 
35  KeyFrame *LoadKeyFrame(CStdXml &oXml);
36 
37  public:
39  virtual ~SimulationRecorder();
40 
41  static SimulationRecorder *CastToDerived(AnimatBase *lpBase) {return static_cast<SimulationRecorder*>(lpBase);}
42 
43  virtual void Add(ActivatedItem *lpItem);
44  virtual KeyFrame *Add(std::string strType, long lStart, long lEnd);
45 
46  virtual void Load(CStdXml &oXml);
47  };
48 
49  } //Recording
50 } //AnimatSim
Base manager class for ActivatedItem's.
Root namespace for the base simulation library for AnimatLab.
Records the simulation keyframes and videos.
CStdArray< KeyFrame * > m_aryVideoFrames
Array of video keyframes.
Base class for all activated items.
Definition: ActivatedItem.h:27
Animat base class.
Definition: AnimatBase.h:36
CStdArray< KeyFrame * > m_arySingleFrames
Array of key frames.