2 #include "IMovableItemCallback.h"
3 #include "ISimGUICallback.h"
4 #include "IMotorizedJoint.h"
9 #include "IPhysicsMovableItem.h"
10 #include "IPhysicsBody.h"
13 #include "MovableItem.h"
38 #include "RemoteControlLinkage.h"
39 #include "PassThroughLinkage.h"
40 #include "RemoteControl.h"
47 PassThroughLinkage::PassThroughLinkage(
void)
52 PassThroughLinkage::~PassThroughLinkage(
void)
63 {
Std_TraceMsg(0,
"Caught Error in desctructor of PassThroughLinkage\r\n",
"", -1,
false,
true);}
76 void PassThroughLinkage::SetGain(
Gain *lpGain)
114 if(strType ==
"GAIN")
122 THROW_PARAM_ERROR(Al_Err_lInvalidDataType, Al_Err_strInvalidDataType,
"Data Type", strDataType);
130 aryProperties.Add(
new TypeProperty(
"Gain", AnimatPropertyType::Xml, AnimatPropertyDirection::Set));
135 float PassThroughLinkage::CalculateAppliedValue(
float fltData)
143 void PassThroughLinkage::Load(
CStdXml &oXml)
145 RemoteControlLinkage::Load(oXml);
virtual Gain * GetGain()
Gets the poitner to the gain function.
virtual void QueryProperties(CStdPtrArray< TypeProperty > &aryProperties)
Queries this object for a list of properties that can be changed using SetData.
virtual void Deserialize(std::string &strXml)
Deserializes a string into an xml document.
Base class file for all Animat simulation objects.
Declares the nervous system class.
Declares the simulation recorder class.
Declares the Robot IO control interface base 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.
AnimatSim::Behavior::NeuralModule * m_lpModule
The pointer to this items parentNeuralModule. If this is not relevant for this object then this is NU...
Declares the body part class.
virtual bool FindElement(std::string strElementName, bool fThrowError=true)
Finds an element with the specified name.
Simulator * m_lpSim
The pointer to a Simulation.
virtual bool IntoElem()
Goes into the next element where the cursor is located.
virtual bool SetData(const std::string &strDataType, const std::string &strValue, bool bThrowError=true)
Set a variable based on a string data type name.
Class that stores information about types for QueryProperty information.
Declares the link base class.
Declares the key frame class.
Declares the joint class.
Declares the organism class.
AnimatSim::Environment::Structure * m_lpStructure
The pointer to this items parent Structure. If this is not relevant for this object then this is NULL...
Gain * m_lpGain
Pointer to the Gain that will be used to convert the source value into the target value...
Declares the activated item class.
Declares a light manager object.
Declares the bounding box class.
Declares the gain base class.
A standard xml manipulation class.
virtual void QueryProperties(CStdPtrArray< TypeProperty > &aryProperties)
Queries this object for a list of properties that can be changed using SetData.
virtual void AddGain(std::string strXml)
Creates and adds a gain object.
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 bool OutOfElem()
Goes out of the element where the cursor is located.
Declares the data chart manager class.
Declares the rigid body class.
virtual float CalculateGain(float fltInput)=0
Calculates the gain.
std::string Std_CheckString(std::string strVal)
Converts a string to upper case and trims it.
Declares the structure class.
Declares the odor type class.
Declares the robotics inerface for animatlab.
Declares the simulator class.
Declares the neural module class.
Declares the activated item manager class.
virtual bool SetData(const std::string &strDataType, const std::string &strValue, bool bThrowError=true)
Set a variable based on a string data type name.
Declares the external stimuli manager class.
Gain * LoadGain(Simulator *lpSim, std::string strName, CStdXml &oXml)
Loads a gain object.
Declares the receptive field class.