34 m_iChangeSimStepCount = 5;
40 m_strProperty = strName;
41 m_iButtonID = iButtonID;
42 m_iChangeSimStepCount = iChangeSimStepCount;
58 void CheckStartedStopped();
59 void ClearStartStops();
109 virtual float CalculateAppliedValue(
float fltData) = 0;
110 virtual void ApplyValue(
float fltData);
124 virtual std::string SourceID();
125 virtual void SourceID(std::string strID);
127 virtual std::string TargetID();
128 virtual void TargetID(std::string strID);
130 virtual int PropertyID();
131 virtual void PropertyID(
int iID,
bool bCreateDataTypes =
true);
133 virtual std::string SourceDataTypeID();
134 virtual void SourceDataTypeID(std::string strTypeID);
136 virtual std::string TargetDataTypeID();
137 virtual void TargetDataTypeID(std::string strTypeID);
139 virtual std::string PropertyName();
140 virtual void PropertyName(std::string strName);
142 virtual bool InLink();
143 virtual void InLink(
bool bVal);
145 virtual float AppliedValue();
146 virtual void AppliedValue(
float fltVal);
148 virtual float *GetDataPointer(
const std::string &strDataType);
149 virtual bool SetData(
const std::string &strDataType,
const std::string &strValue,
bool bThrowError =
true);
150 virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
152 virtual void SetupIO();
153 virtual void StepIO();
154 virtual void ShutdownIO();
156 virtual void Initialize();
157 virtual void ResetSimulation();
158 virtual void StepSimulation();
159 virtual void Load(CStdXml &oXml);
std::string m_strSourceDataTypeID
ID of the source data type. This is only used during loading.
Root namespace for the base simulation library for AnimatLab.
RemoteControlData m_Data
This is a set of data that is associated with this linkage.
AnimatBase * m_lpSource
Source object we are inserting from.
float * m_lpTargetData
Pointer to the external value of the linked target.
std::string m_strProperty
The array index of this button.
int m_iTargetDataType
integer index of the target data type
AnimatBase * m_lpTarget
Target object we are inserting into.
std::string m_strPropertyName
Name of the property that will be used for the data type if required.
std::string m_strSourceID
ID of the source. This is only used during loading.
int m_iChangeSimStepCount
The number of simulation time slices to keep a start/stop signal active.
float m_fltAppliedValue
The total value applied during a time step.
float * m_lpSourceData
Pointer to the source data variable.
std::string m_strTargetDataTypeID
ID of the target data type. This is only used during loading.
std::string m_strTargetID
ID of the target. This is only used during loading.
RemoteControl * m_lpParentRemoteControl
Pointer tho the parent remote control.