AnimatLab  2
Test
DataChartMgr.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace AnimatSim
10 {
11  namespace Charting
12  {
22  class ANIMAT_PORT DataChartMgr : public ActivatedItemMgr
23  {
24  protected:
25 
26  DataChart *LoadDataChart(CStdXml &oXml);
27 
28  public:
29  DataChartMgr();
30  virtual ~DataChartMgr();
31 
32  static DataChartMgr *CastToDerived(AnimatBase *lpBase) {return static_cast<DataChartMgr*>(lpBase);}
33 
34  virtual bool AddDataChart(std::string strXml);
35  virtual bool RemoveDataChart(std::string strID);
36 
37  virtual void AddDataColumn(std::string strChartKey, DataColumn *lpColumn);
38  virtual void RemoveDataColumn(std::string strChartKey, std::string strColumnName, bool bThrowError = true);
39  virtual DataColumn *FindDataColumn(std::string strChartKey, std::string strColumnName, bool bThrowError = true);
40 
41  virtual void Load(CStdXml &oXml);
42  };
43 
44  } //Charting
45 } //AnimatSim
Base manager class for ActivatedItem's.
Root namespace for the base simulation library for AnimatLab.
Data column class.
Definition: DataColumn.h:24
Data chart base class.
Definition: DataChart.h:31
Animat base class.
Definition: AnimatBase.h:36
Manager for data charts.
Definition: DataChartMgr.h:22