AnimatLab  2
Test
MemoryChart.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace AnimatSim
10 {
11  namespace Charting
12  {
27  class ANIMAT_PORT MemoryChart : public DataChart
28  {
29  protected:
31  CStdCriticalSection *m_oRowCountLock;
32 
33  public:
34  MemoryChart();
35  virtual ~MemoryChart();
36 
37  static MemoryChart *CastToDerived(AnimatBase *lpBase) {return static_cast<MemoryChart*>(lpBase);}
38 
39  virtual std::string Type();
40 
41  virtual bool Lock();
42  virtual void Unlock();
43 
44  virtual void Initialize();
45  virtual void StepSimulation();
46  virtual void Load(CStdXml &oXml);
47  };
48 
49  } //Charting
50 } //AnimatSim
Root namespace for the base simulation library for AnimatLab.
CStdCriticalSection * m_oRowCountLock
Critical section to lock access to the data buffer for writing.
Definition: MemoryChart.h:31
Data chart base class.
Definition: DataChart.h:31
Saves the data in memory.
Definition: MemoryChart.h:27
Animat base class.
Definition: AnimatBase.h:36