67 virtual void SetSliceData();
75 virtual bool Enabled();
76 virtual void Enabled(
bool bVal);
78 virtual bool LoadedTime();
79 virtual void LoadedTime(
bool bVal);
81 virtual long StartSlice();
82 virtual void StartSlice(
long lVal,
bool bReInit =
true);
84 virtual long EndSlice();
85 virtual void EndSlice(
long lVal,
bool bReInit =
true);
87 virtual float StartTime();
88 virtual void StartTime(
float fltVal,
bool bReInit =
true);
90 virtual float EndTime();
91 virtual void EndTime(
float fltVal,
bool bReInit =
true);
93 virtual int StepInterval();
94 virtual void StepInterval(
int iVal);
96 virtual int StepIntervalCount();
97 virtual void StepIntervalCount(
int iVal);
99 virtual bool AlwaysActive();
100 virtual void AlwaysActive(
bool bVal);
103 bool IsInitialized();
105 bool NeedToActivate();
106 bool NeedToDeactivate();
125 virtual void Initialize();
126 virtual void ReInitialize();
127 virtual bool NeedToStep();
128 virtual void ResetSimulation();
129 virtual void Activate();
130 virtual void Deactivate();
131 virtual void TimeStepModified();
133 virtual bool SetData(
const std::string &strDataType,
const std::string &strValue,
bool bThrowError =
true);
135 virtual void Load(CStdXml &oXml);
int m_iStepIntervalCount
Keeps track of how many time steps have occured since it was zeroed again.
long m_lEndSlice
The time slice where this item is deactived.
bool LessThanActivatedItemCompare(ActivatedItem *lpItem1, ActivatedItem *lpItem2)
Compares the start times of two activated items to see which is sooner.
Root namespace for the base simulation library for AnimatLab.
Base class for all activated items.
bool m_bInitialized
true if item has been initialized
bool m_bAlwaysActive
Determines whether this item is always active during simulation.
long m_lStartSlice
The time slice where this item becomes active.
bool m_bIsActivated
true if item has been activated