35 virtual void RemoveRemoteControlLinkage(std::string strID,
bool bThrowError =
true);
36 virtual int FindLinkageChildListPos(std::string strID,
bool bThrowError =
true);
37 virtual int FindLinkageChildListPos(CStdArray<RemoteControlLinkage *> &aryLinks, std::string strID,
bool bThrowError =
true);
38 virtual bool FindDataToWrite(CStdArray<RemoteControlLinkage *> &aryWrites);
40 virtual void SetDataValue(
int iButtonID,
float fltVal);
41 virtual void ResetData();
42 virtual void CheckStartedStopped();
43 virtual void ClearStartStops();
45 virtual void CreateDataIDMap();
53 virtual CStdPtrArray<RemoteControlLinkage>* Links();
54 virtual CStdArray<RemoteControlLinkage *>* InLinks();
55 virtual CStdArray<RemoteControlLinkage *>* OutLinks();
56 virtual CStdMap<std::string, int>* DataIDMap();
58 virtual void ChangeSimStepCount(
int iRate);
59 virtual int ChangeSimStepCount();
61 virtual bool UseRemoteDataTypes();
63 virtual RemoteControlLinkage *FindLinkageWithPropertyName(std::string strName,
bool bThrowError =
true);
65 virtual bool AddItem(
const std::string &strItemType,
const std::string &strXml,
bool bThrowError =
true,
bool bDoNotInit =
false);
66 virtual bool RemoveItem(
const std::string &strItemType,
const std::string &strID,
bool bThrowError =
true);
68 virtual void SetupIO();
69 virtual void StepIO();
70 virtual void ShutdownIO();
72 virtual float *GetDataPointer(
const std::string &strDataType);
73 virtual bool SetData(
const std::string &strDataType,
const std::string &strValue,
bool bThrowError =
true);
74 virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
76 virtual void Initialize();
77 virtual void StepSimulation();
78 virtual void ResetSimulation();
79 virtual void AfterResetSimulation();
80 virtual void Load(CStdXml &oXml);
CStdPtrArray< RemoteControlLinkage > m_aryLinks
Root namespace for the base simulation library for AnimatLab.
CStdArray< RemoteControlLinkage * > m_aryOutLinks
Only the linkages that are outlinks.
A Robot IO controller base class.
CStdMap< std::string, int > m_aryDataIDMap
Used to map property names to IDs when UseRemoteDataTypes is true.
bool m_bUseRemoteDataTypes
int m_iChangeSimStepCount
The number of simulation time slices to keep a start/stop signal active.
CStdArray< RemoteControlLinkage * > m_aryInLinks
Only the linkages that are inlinks.