AnimatLab  2
Test
Link.h
Go to the documentation of this file.
1 
7 #pragma once
8 
9 namespace AnimatSim
10 {
17  class ANIMAT_PORT Link : public AnimatBase
18  {
19  protected:
21  Organism *m_lpOrganism;
22 
24  float m_fltEnabled;
25 
26  virtual void UpdateData();
27 
28  public:
29  Link();
30  virtual ~Link();
31 
32  static Link *CastToDerived(AnimatBase *lpBase) {return static_cast<Link*>(lpBase);}
33 
34  virtual bool Enabled();
35  virtual void Enabled(bool bValue);
36 
37 
38 #pragma region DataAccesMethods
39 
40  virtual void SetSystemPointers(Simulator *lpSim, Structure *lpStructure, NeuralModule *lpModule, Node *lpNode, bool bVerify);
41  virtual void VerifySystemPointers();
42  virtual bool SetData(const std::string &strDataType, const std::string &strValue, bool bThrowError = true);
43  virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
44 
45 #pragma endregion
46  };
47 
48 } //AnimatSim
Simulates the entire environment.
Definition: Simulator.h:31
Root namespace for the base simulation library for AnimatLab.
Animat base class.
Definition: AnimatBase.h:36
Base class for body parts and neural network nodes.
Definition: Node.h:25