AnimatLab  2
Test
PassThroughLinkage.h
1 #pragma once
2 
3 namespace AnimatSim
4 {
5  namespace Robotics
6  {
7  class RemoteControl;
8 
9  class ANIMAT_PORT PassThroughLinkage : public RemoteControlLinkage
10  {
11  protected:
13  Gain *m_lpGain;
14 
15  virtual void AddGain(std::string strXml);
16  virtual float CalculateAppliedValue(float fltData);
17 
18  public:
19  PassThroughLinkage(void);
20  virtual ~PassThroughLinkage(void);
21 
22  static PassThroughLinkage *CastToDerived(AnimatBase *lpBase) {return static_cast<PassThroughLinkage*>(lpBase);}
23 
24  virtual Gain *GetGain();
25  virtual void SetGain(Gain *lpGain);
26 
27  virtual bool SetData(const std::string &strDataType, const std::string &strValue, bool bThrowError = true);
28  virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
29 
30  virtual void Load(CStdXml &oXml);
31  };
32 
33  }
34 }
Root namespace for the base simulation library for AnimatLab.
Gain * m_lpGain
Pointer to the Gain that will be used to convert the source value into the target value...
Animat base class.
Definition: AnimatBase.h:36