devicerecoverylogic.hh

来自「It s a tool designed to extract as much 」· HH 代码 · 共 62 行

HH
62
字号
/* -*- c++ -*- ---------------------------------------------------------------   Copyright (C) 2005, SWECO, All Rights Reserved.   Device recovery common logic   $Id$   Author: Zsolt Molnar (Zsolt.Molnar@ieee.org)   ---------------------------------------------------------------------------*/#ifndef __DEVICERECOVERYLOGIC_HH__#define __DEVICERECOVERYLOGIC_HH__#include <set>#include "base.hh"#include "Device.hh"#include "IDeviceManager.hh"#include "IDeviceRecovery.hh"#ifdef _cplusplusextern "C" {#endifclass DeviceRecoveryLogic : virtual public IDeviceRecovery {public:	DeviceRecoveryLogic(IDeviceManager& aDevManager);	virtual ~DeviceRecoveryLogic() {};  	virtual void start();protected:		typedef set<Device> _tDeviceSet;protected:	virtual _tDeviceSet _inquiryForDevices();	_tDeviceSet _sync();protected:	_tDeviceSet _presentLastTime;	_tDeviceSet _bannedDevices;	IDeviceManager& _deviceManager;	bool            _isLooping;#ifdef __TEST__public:		static bool test();#endif // #ifdef __TEST__};#ifdef _cplusplus}#endif#endif /* #ifndef __DEVICERECOVERYLOGIC_HH__ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?