SourceCode/Bond/Servo/CMaster.h
@@ -8,10 +8,12 @@ namespace SERVO { typedef std::function<void(void* pMaster, CEquipment* pEiuipment, BOOL bAlive)> ONEQALIVE; typedef std::function<void(CStep* pStep, int code, void* pData)> ONEQSTEPEVENT; typedef struct _MasterListener { ONEQALIVE onEqAlive; ONEQALIVE onEqCimStateChanged; ONEQSTEPEVENT onEqStepEvent; } MasterListener; class CMaster @@ -30,6 +32,7 @@ private: int addEquipment(CEquipment* pEquipment); int addEFEM(StepListener& listener); private: MasterListener m_listener;