LAPTOP-SNT8I5JK\Boounion
2025-02-25 4acd7cfd96f2099772497713e17ca8bfaf5cf4ec
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(void* pEiuipment, 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;