AnimatLab  2
Test
ReceptiveFieldPair.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace AnimatSim
10 {
11  namespace Environment
12  {
19  class ANIMAT_PORT ReceptiveFieldPair : public AnimatBase
20  {
21  protected:
23  std::string m_strFieldID;
25  std::string m_strTargetNodeID;
26 
29  public:
31  virtual ~ReceptiveFieldPair();
32 
33  static ReceptiveFieldPair *CastToDerived(AnimatBase *lpBase) {return static_cast<ReceptiveFieldPair*>(lpBase);}
34 
35  virtual void FieldID(std::string strID);
36  virtual std::string FieldID();
37 
38  virtual void TargetNodeID(std::string strID);
39  virtual std::string TargetNodeID();
40 
41  virtual ReceptiveField *Field();
42 
43  virtual void Initialize();
44  virtual void StepSimulation();
45 
46  virtual void Load(CStdXml &oXml);
47  };
48 
49  } // Environment
50 } //AnimatSim
Root namespace for the base simulation library for AnimatLab.
std::string m_strTargetNodeID
GUID ID of the target neuron where current will be injected.
std::string m_strFieldID
Identifier for the field to use with this field pair.
Animat base class.
Definition: AnimatBase.h:36
ReceptiveField * m_lpField
Pointer to the ReceptiveField associated with this pairing.
Receptive field that generates current based on the amount of contact force, and how close it is to t...