17 lines
419 B
C
17 lines
419 B
C
|
|
#pragma once
|
|||
|
|
#include "sys_node_mng_api/NodeMngInterface.h"
|
|||
|
|
#include "pub_sysinfo_api/SysInfoApi.h"
|
|||
|
|
|
|||
|
|
class CAppService;
|
|||
|
|
class CSeqRedundant : public kbd_sys::CRedundantSwitchInterface
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
CSeqRedundant(CAppService* service);
|
|||
|
|
~CSeqRedundant();
|
|||
|
|
int redundantSwitch(bool bMaster, bool bSlave);
|
|||
|
|
private:
|
|||
|
|
CAppService* m_ptrAppService;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
typedef boost::shared_ptr<CSeqRedundant> CSeqRedundantPtr;
|