SourceCode/Bond/Servo/Model.h
@@ -2,6 +2,7 @@ #include "Configuration.h" #include "HsmsPassive.h" #include "CMaster.h" #include "CGlassPool.h" class CModel { @@ -11,10 +12,11 @@ public: IObservable* getObservable(); SERVO::CMaster& getMaster(); void setWorkDir(const char* pszWorkDir); void loadPortParams(); int init(); int term(); bool isAlarmStep(SERVO::CStep* pStep); public: int notify(int code); @@ -33,6 +35,7 @@ public: CConfiguration m_configuration; CHsmsPassive m_hsmsPassive; SERVO::CGlassPool m_glassPool; SERVO::CMaster m_master; private: