8 #include "IMovableItemCallback.h"
9 #include "ISimGUICallback.h"
15 #include "IPhysicsMovableItem.h"
16 #include "IPhysicsBody.h"
18 #include "MovableItem.h"
71 {
Std_TraceMsg(0,
"Caught Error in desctructor of FileChart\r\n",
"", -1,
false,
true);}
97 THROW_ERROR(Al_Err_lFilenameBlank, Al_Err_strFilenameBlank);
129 void FileChart::Load(
CStdXml &oXml)
148 long lRow, lCol, lIndex;
151 oStream <<
"TimeSlice\t" <<
"Time\t";
156 for(lCol=0; lCol<lIndex; lCol++)
160 if(lCol < (lIndex-1))
oStream <<
"\t";
174 oStream << lTimeSlice <<
"\t" << fltTime <<
"\t";
182 if(lCol < (m_lColumnCount-1))
oStream <<
"\t";
virtual std::string OutputFilename()
Gets the output filename.
Base class file for all Animat simulation objects.
Declares the nervous system class.
Declares the simulation recorder class.
Root namespace for the base simulation library for AnimatLab.
float * m_aryDataBuffer
Buffer for data variable points.
Declares the body part class.
virtual ~FileChart()
Destructor.
virtual void Initialize()
Initializes this object.
Simulator * m_lpSim
The pointer to a Simulation.
virtual void ResetSimulation()
Resets the simulation back to time 0.
virtual bool IntoElem()
Goes into the next element where the cursor is located.
FileChart()
Default constructor.
std::string m_strOutputFilename
Filename of the output file.
virtual void Deactivate()
Deactivates this item.
Declares the link base class.
Declares the key frame class.
virtual void Initialize()
Initializes this object.
Declares the joint class.
Declares the organism class.
long m_lColumnCount
Number of data columns.
Declares the activated item class.
virtual float TimeStep()
Gets the smallest integration time step used within the simulation.
Declares the data column class.
virtual void Load(std::string strProjectPath, std::string strConfigFile)
Loads a data chart from a file.
Declares a light manager object.
virtual void ResetSimulation()
Resets the simulation back to time 0.
Declares the bounding box class.
Declares the gain base class.
A standard xml manipulation class.
virtual std::string Type()
returns the string type name of this object.
virtual std::string GetChildString(std::string strElementName)
Gets a string value from the element with the specified name.
void Std_TraceMsg(const int iLevel, std::string strMessage, std::string strSourceFile, int iSourceLine, bool bLogToFile, bool bPrintHeader)
Traces a message to the debugger window.
virtual void SaveOutput()
Saves the data to the specified output file in a tsv format.
virtual bool OutOfElem()
Goes out of the element where the cursor is located.
std::string m_strProjectPath
Full pathname of the project file.
CStdPtrArray< DataColumn > m_aryDataColumns
The primary array of data columns. This array deletes the columns when destructed.
Declares the data chart class.
long m_lRowCount
Number of rows in the buffer.
bool Std_IsBlank(std::string strVal)
Trims a string and tests if a string is blank.
virtual void Deactivate()
Deactivates this item.
Declares the data chart manager class.
Declares the rigid body class.
std::ofstream oStream
The file stream.
Declares the structure class.
Declares the odor type class.
Declares the file chart class.
Declares the simulator class.
Declares the neural module class.
Declares the activated item manager class.
Declares the external stimuli manager class.
long m_lStartSlice
The time slice where this item becomes active.
Declares the receptive field class.
short m_iCollectInterval
Tells what the time slice step interval to use when collecting data. This is.