LAN Devices presence
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#ifndef LANDEVICESPRESENCEMONITOR_H
|
||||
#define LANDEVICESPRESENCEMONITOR_H
|
||||
|
||||
#include <QObject>
|
||||
#include "LANDeviceMonitor.h"
|
||||
#include "LANDevicePresenceConfig.h"
|
||||
#include <QList>
|
||||
#include <QTimer>
|
||||
|
||||
class COtarcikCan;
|
||||
|
||||
class CLANDevicesPresenceMonitor: public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
CLANDevicesPresenceMonitor();
|
||||
~CLANDevicesPresenceMonitor();
|
||||
|
||||
int Start(QList<CLANDevicePresenceConfig> *LANDevicesList);
|
||||
int Stop();
|
||||
quint64 GetDevicesPresenceCANMask();
|
||||
QTimer *mLANDevicesPresenceStateUpdateTimer;
|
||||
|
||||
COtarcikCan *mProgramPtr;
|
||||
|
||||
private:
|
||||
QList<CLANDeviceMonitor*> mLANMonitorList;
|
||||
|
||||
public slots:
|
||||
void DevicesPresenceUpdateTimerExpired();
|
||||
|
||||
};
|
||||
|
||||
#endif // LANDEVICESPRESENCEMONITOR_H
|
||||
Reference in New Issue
Block a user