8 #include "IMovableItemCallback.h"
9 #include "ISimGUICallback.h"
15 #include "IPhysicsMovableItem.h"
16 #include "IPhysicsBody.h"
18 #include "MovableItem.h"
71 for(
int iIndex=0; iIndex<iCount; iIndex++)
76 THROW_PARAM_ERROR(Al_Err_lKeyFrameOverlap, Al_Err_strKeyFrameOverlap,
"Overlap Frame ID", lpTest->
ID());
102 THROW_TEXT_ERROR(Al_Err_lConvertingClassToType, Al_Err_strConvertingClassToType,
"KeyFrame");
116 if(lpFrame)
delete lpFrame;
122 if(lpFrame)
delete lpFrame;
123 THROW_ERROR(Std_Err_lUnspecifiedError, Std_Err_strUnspecifiedError);
128 void SimulationRecorder::Load(
CStdXml &oXml)
139 for(
int iIndex=0; iIndex<iCount; iIndex++)
162 std::string strModuleName, strType;
173 THROW_TEXT_ERROR(Al_Err_lConvertingClassToType, Al_Err_strConvertingClassToType,
"KeyFrame");
183 if(lpFrame)
delete lpFrame;
189 if(lpFrame)
delete lpFrame;
190 THROW_ERROR(Std_Err_lUnspecifiedError, Std_Err_strUnspecifiedError);
SimulationRecorder()
Default constructor.
Base class file for all Animat simulation objects.
Declares the nervous system class.
Declares the simulation recorder class.
virtual void SetSystemPointers(Simulator *lpSim, Structure *lpStructure, NeuralModule *lpModule, Node *lpNode, bool bVerify)
Sets the system pointers.
virtual bool FindChildElement(std::string strElementName, bool fThrowError=true)
Finds a child element by name.
Root namespace for the base simulation library for AnimatLab.
virtual ~SimulationRecorder()
Destructor.
Declares the body part class.
Simulator * m_lpSim
The pointer to a Simulation.
Information about the standard error.
virtual std::string ID()
Gets the unique GUID ID of this object.
virtual bool IntoElem()
Goes into the next element where the cursor is located.
Declares the link base class.
Declares the key frame class.
KeyFrame * LoadKeyFrame(CStdXml &oXml)
Loads a new key frame.
Base class for all activated items.
Declares the joint class.
Declares the organism class.
virtual bool Overlaps(ActivatedItem *lpItem)
Query if this object overlaps the time period for another ActivatedItem.
Declares the activated item class.
virtual CStdSerialize * CreateObject(std::string strModule, std::string strClassName, std::string strType, bool bThrowError=true)
Creates an object using a class factory.
Declares a light manager object.
Declares the bounding box class.
virtual long StartSlice()
Returns the starts slice for activation.
Declares the gain base class.
A standard xml manipulation class.
virtual void Reset()
Resets this manager.
virtual std::string GetChildString(std::string strElementName)
Gets a string value from the element with the specified name.
CStdArray< ActivatedItem * > m_aryItems
virtual int NumberOfChildren()
Gets the number of children of the current element.
virtual long EndSlice()
Gets the end time slice for deactivation.
virtual bool OutOfElem()
Goes out of the element where the cursor is located.
Declares the sensor class.
Declares the data chart manager class.
Declares the rigid body class.
virtual void GenerateID()
Generates an identifier.
Declares the structure class.
Declares the odor type class.
virtual void Add(ActivatedItem *lpItem)
Adds a new ActivatedItem to be managed.
virtual void Initialize()
Initializes this object.
virtual void VerifySystemPointers()
Verify that system pointers have been set correctly.
Declares the simulator class.
Declares the neural module class.
virtual bool FindChildByIndex(int iIndex, bool bThrowError=true)
Finds a child element by index.
Declares the activated item manager class.
Declares the external stimuli manager class.
Declares the receptive field class.
virtual void Add(ActivatedItem *lpItem)
Adds a new ActivatedItem to be managed.