8 #include "IMovableItemCallback.h"
9 #include "ISimGUICallback.h"
15 #include "IPhysicsMovableItem.h"
16 #include "IPhysicsBody.h"
18 #include "MovableItem.h"
62 m_aryHudItems.RemoveAll();
65 {
Std_TraceMsg(0,
"Caught Error in desctructor of Hud\r\n",
"", -1,
false,
true);}
70 m_aryHudItems.RemoveAll();
75 int iCount = m_aryHudItems.GetSize();
76 for(
int iIndex = 0; iIndex < iCount; iIndex++)
83 int iCount = m_aryHudItems.GetSize();
84 for(
int iIndex = 0; iIndex < iCount; iIndex++)
86 lpItem = m_aryHudItems[iIndex];
95 m_aryHudItems.RemoveAll();
106 for(
int iIndex=0; iIndex<iCount; iIndex++)
109 lpItem = LoadHudItem(oXml);
110 m_aryHudItems.Add(lpItem);
123 std::string strModuleName, strType;
134 THROW_TEXT_ERROR(Al_Err_lConvertingClassToType, Al_Err_strConvertingClassToType,
"HudItem");
143 if(lpItem)
delete lpItem;
149 if(lpItem)
delete lpItem;
150 THROW_ERROR(Std_Err_lUnspecifiedError, Std_Err_strUnspecifiedError);
virtual void ResetSimulation()
Resets the simulation back to time 0.
Base class file for all Animat simulation objects.
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.
Declares the body part class.
Simulator * m_lpSim
The pointer to a Simulation.
Information about the standard error.
virtual bool IntoElem()
Goes into the next element where the cursor is located.
Declares the key frame class.
Declares the joint class.
Declares the organism class.
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 ~Hud()
Destructor.
virtual void Reset()
Resets this object.
A standard xml manipulation class.
virtual std::string GetChildString(std::string strElementName)
Gets a string value from the element with the specified name.
virtual void Load(StdUtils::CStdXml &oXml)
Loads the item using an XML data packet.
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 int NumberOfChildren()
Gets the number of children of the current element.
virtual bool OutOfElem()
Goes out of the element where the cursor is located.
Hud()
Default constructor.
Declares the data chart manager class.
Declares the rigid body class.
virtual bool IntoChildElement(std::string strElementName, bool bThrowError=true)
Goes into the child element with the specified name.
Declares the structure class.
Declares the odor type class.
Declares the simulator 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.