AnimatLab  2
Test
FileChart.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace AnimatSim
10 {
11  namespace Charting
12  {
24  class ANIMAT_PORT FileChart : public DataChart
25  {
26  protected:
28  std::string m_strOutputFilename;
29 
31  std::ofstream oStream;
32 
33  public:
34  FileChart();
35  virtual ~FileChart();
36 
37  static FileChart *CastToDerived(AnimatBase *lpBase) {return static_cast<FileChart*>(lpBase);}
38 
39  virtual std::string Type();
40 
41  virtual std::string OutputFilename();
42  virtual void OutputFilename(std::string strVal);
43 
44  virtual void ResetSimulation();
45  virtual void Initialize();
46  virtual void Deactivate();
47  virtual void Load(CStdXml &oXml);
48  virtual void SaveOutput();
49  };
50 
51  } //Charting
52 } //AnimatSim
Root namespace for the base simulation library for AnimatLab.
std::string m_strOutputFilename
Filename of the output file.
Definition: FileChart.h:28
Data chart base class.
Definition: DataChart.h:31
Animat base class.
Definition: AnimatBase.h:36
std::ofstream oStream
The file stream.
Definition: FileChart.h:31