67 virtual int FindAdapterListIndex(CStdArray<Adapter *> aryAdapters, std::string strID,
bool bThrowError =
true);
69 virtual void LoadExternalSynapses(CStdXml &oXml);
85 virtual std::string ModuleName() = 0;
87 virtual short TimeStepInterval();
88 virtual void TimeStepInterval(
short iVal);
90 virtual float TimeStep();
91 virtual void TimeStep(
float fltVal);
97 Organism *GetOrganism();
121 virtual void SetSystemPointers(
Simulator *lpSim, Structure *lpStructure,
NeuralModule *lpModule,
Node *lpNode,
bool bVerify);
122 virtual void VerifySystemPointers();
134 virtual void AttachSourceAdapter(Adapter *lpAdapter);
146 virtual void RemoveSourceAdapter(Adapter *lpAdapter);
158 virtual void AttachTargetAdapter(Adapter *lpAdapter);
170 virtual void RemoveTargetAdapter(Adapter *lpAdapter);
172 virtual float *GetDataPointer(
const std::string &strDataType);
175 virtual void AddExternalSynapse(std::string strXml,
bool bDoNotInit);
176 virtual void RemoveExternalSynapse(std::string strID,
bool bThrowError =
true);
177 virtual int FindExternalSynapseListPos(std::string strID,
bool bThrowError =
true);
179 virtual void Initialize();
180 virtual void ResetSimulation();
181 virtual bool NeedToStep(
bool bIncrement);
182 virtual void ResetStepCounter();
183 virtual void StepSimulation();
191 virtual void StepAdapters();
CStdPtrArray< AnimatSim::Link > m_aryExternalSynapses
An array of external synapses connected to nodes within this module.
CStdArray< Adapter * > m_arySourceAdapters
An array of source adapters for this module.
Simulates the entire environment.
Root namespace for the base simulation library for AnimatLab.
std::string m_strNeuralNetworkFile
The string neural network file name.
IStdClassFactory * m_lpClassFactory
The pointer to the class factory for this module.
short m_iTimeStepCount
Count variable that keeps track of how many slices have occured since the last StepSimulation.
Base class for all link type objects. This is typically used for synapses.
CStdArray< Adapter * > m_aryTargetAdapters
An array of target adapters for this module.
Organism * m_lpOrganism
The pointer to the organism.
Base class for body parts and neural network nodes.
short m_iTargetAdapterCount
Number of target adapters.
std::string m_strProjectPath
Full pathname of the string project file for this module.
float m_fltTimeStep
The DT time step for this neural module in seconds.
short m_iTimeStepInterval