11 namespace ExternalStimuli
17 std::string m_strStructureID;
18 std::string m_strJointID;
19 MotorizedJoint *m_lpJoint;
25 std::string m_strEquation;
26 CStdPostFixEval *m_lpEval;
28 bool m_bDisableMotorWhenDone;
31 float m_fltValueReport;
39 std::string StructureID() {
return m_strStructureID;};
40 void StructureID(std::string strVal) {m_strStructureID = strVal;};
42 std::string JointID() {
return m_strJointID;};
43 void JointID(std::string strVal) {m_strJointID = strVal;};
45 std::string Equation() {
return m_strEquation;};
46 void Equation(std::string strVal);
48 int TargetID() {
return m_iTargetID;}
49 void TargetID(
int iID);
50 void TargetID(std::string strID);
52 bool DisableMotorWhenDone() {
return m_bDisableMotorWhenDone;};
53 void DisableMotorWhenDone(
bool bVal) {m_bDisableMotorWhenDone = bVal;};
55 virtual void Load(CStdXml &oXml);
58 virtual std::string
Type() {
return "MotorVelocity";};
59 virtual void Initialize();
60 virtual void Activate();
61 virtual void ResetSimulation();
62 virtual void StepSimulation();
63 virtual void Deactivate();
65 virtual float *GetDataPointer(
const std::string &strDataType);
66 virtual bool SetData(
const std::string &strDataType,
const std::string &strValue,
bool bThrowError =
true);
67 virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
Root namespace for the base simulation library for AnimatLab.
virtual std::string Type()
returns the string type name of this object.
External stimulus base class.