8 #include "IMovableItemCallback.h"
9 #include "ISimGUICallback.h"
15 #include "IPhysicsMovableItem.h"
16 #include "IPhysicsBody.h"
18 #include "MovableItem.h"
70 void ReceptiveFieldPair::FieldID(std::string strID)
73 THROW_ERROR(Al_Err_lIDBlank, Al_Err_strIDBlank);
78 std::string ReceptiveFieldPair::FieldID() {
return m_strFieldID;}
80 void ReceptiveFieldPair::TargetNodeID(std::string strID)
83 THROW_ERROR(Al_Err_lIDBlank, Al_Err_strIDBlank);
98 THROW_PARAM_ERROR(Al_Err_lNodeNotFound, Al_Err_strNodeNotFound,
"ID: ",
m_strTargetNodeID);
102 THROW_PARAM_ERROR(Al_Err_lNodeNotFound, Al_Err_strNodeNotFound,
"ID: ",
m_strFieldID);
112 void ReceptiveFieldPair::Load(
CStdXml &oXml)
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.
Declares the body part class.
std::string m_strTargetNodeID
GUID ID of the target neuron where current will be injected.
virtual void AddExternalNodeInput(int iTargetDataType, float fltInput)=0
Adds an external node input.
Simulator * m_lpSim
The pointer to a Simulation.
virtual bool IntoElem()
Goes into the next element where the cursor is located.
virtual void Initialize()
Initializes this object.
Declares the link base class.
Declares the key frame class.
Declares the joint class.
Declares the organism class.
virtual void Initialize()
Initializes this object.
ReceptiveFieldPair()
Default constructor.
Declares the activated item class.
std::string m_strFieldID
Identifier for the field to use with this field pair.
Declares a light manager object.
Declares the receptive field pair class.
Declares the bounding box class.
Declares the gain base class.
A standard xml manipulation class.
Node * m_lpNode
The pointer to this items parent Node. If this is not relevant for this object then this is NULL...
float m_fltCurrent
The accumulated current for this receptive field.
virtual void StepSimulation()
Step the simulation for this object.
virtual std::string GetChildString(std::string strElementName)
Gets a string value from the element with the specified name.
virtual AnimatBase * FindByID(std::string strID, bool bThrowError=true)
Searches for the object with the specified ID.
virtual void Load(StdUtils::CStdXml &oXml)
Loads the item using an XML data packet.
Base class for body parts and neural network nodes.
virtual bool OutOfElem()
Goes out of the element where the cursor is located.
Declares the sensor class.
bool Std_IsBlank(std::string strVal)
Trims a string and tests if a string is blank.
Declares the data chart manager class.
Declares the rigid body class.
Declares the structure class.
Declares the odor type class.
virtual ~ReceptiveFieldPair()
Destructor.
Declares the simulator class.
Declares the neural module class.
Declares the activated item manager class.
ReceptiveField * m_lpField
Pointer to the ReceptiveField associated with this pairing.
Declares the external stimuli manager class.
Declares the attachment class.
Receptive field that generates current based on the amount of contact force, and how close it is to t...
Declares the receptive field class.