LAPTOP-SNT8I5JK\Boounion
2025-02-17 0d885fe2e84ac5a6390ddc4d43ab701112eedc64
SourceCode/Bond/Servo/CMaster.h
@@ -7,6 +7,12 @@
namespace SERVO {
    typedef std::function<void(void* pMaster, CEquipment* pEiuipment, BOOL bAlive)> ONEQALIVE;
    typedef struct _MasterListener
    {
        ONEQALIVE            onEqAlive;
    } MasterListener;
    class CMaster
    {
    public:
@@ -15,6 +21,7 @@
    public:
        void setListener(MasterListener listener);
        int init();
        int term();
        void onTimer(UINT nTimerid);
@@ -25,6 +32,7 @@
    private:
        MasterListener m_listener;
        CCCLinkIEControl m_cclink;
        std::list<CEquipment*> m_listEquipment;
    };