12 #ifndef STD_DO_NOT_ADD_BOOST
13 boost::interprocess::interprocess_mutex m_AccessMatchesMutex;
44 virtual float CalculateAppliedValue(
float fltData);
46 void IncrementMatches();
54 virtual void MatchValue(
int iVal);
55 virtual int MatchValue();
57 virtual void MatchOnChange(
bool bVal);
58 virtual bool MatchOnChange();
60 virtual void PulseDuration(
float fltVal);
61 virtual float PulseDuration();
63 virtual void PulseCurrent(
float fltVal);
64 virtual float PulseCurrent();
66 virtual float *GetDataPointer(
const std::string &strDataType);
67 virtual bool SetData(
const std::string &strDataType,
const std::string &strValue,
bool bThrowError =
true);
68 virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
70 virtual void StepIO();
72 virtual void ResetSimulation();
73 virtual void StepSimulation();
74 virtual void Load(CStdXml &oXml);
CStdArray< float > m_aryPulses
float m_fltMatchesReport
Used to report up the number of matches.
Root namespace for the base simulation library for AnimatLab.
int m_iMatches
Counts the number of matches found in StepIO to let the sim know.
bool m_bMatchOnChange
If true then it will only performa a match check when the value has changed.
unsigned int m_iPrevValue
Keeps track of the previous source value for the change check.
float m_fltPulseCurrent
The amount of current to apply for a single pulse.
float m_fltPulseDuration
The duration for which a single pulse should be applied.
int m_iMatchValue
The value we are trying to match in order to apply a pulse.