1 #ifndef TORCDEVICEHANDLER_H 2 #define TORCDEVICEHANDLER_H 7 #include <QReadWriteLock> 16 static void Start (
const QVariantMap &Details);
17 static void Stop (
void);
20 virtual void Create (
const QVariantMap &Details) = 0;
21 virtual void Destroy (
void) = 0;
29 static QList<TorcDeviceHandler*> gTorcDeviceHandlers;
31 static QMutex *gTorcDeviceHandlersLock;
38 #endif // TORCDEVICEHANDLER_H
static TorcDeviceHandler * GetDeviceHandler(void)
static void Start(const QVariantMap &Details)
virtual ~TorcDeviceHandler()=default
virtual void Create(const QVariantMap &Details)=0
QReadWriteLock m_handlerLock
TorcDeviceHandler * GetNextHandler(void)
virtual void Destroy(void)=0