Vesna
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
DeviceCommonManagerApp.h
Go to the documentation of this file.
1 #ifndef DEVICECOMMONMANAGERAPP_H
2 #define DEVICECOMMONMANAGERAPP_H
3 
4 #include "commondevices/devicecommon/edevctlabs.h"
6 #include <string>
7 
8 #include <QSharedPointer>
9 
10 class QFile;
11 class Core;
12 class EMessage;
13 class CustomEvent;
14 class EManagerRcv;
15 class EHwEventHandlerAbs;
16 
17 class DeviceCommonManagerApp : public EDevCtlAbs
18 {
19 public:
21  virtual ~DeviceCommonManagerApp();
22 
23  virtual void SendEventToApp( long eventId,void *data );
24  virtual short OnReceiveConcrete( EMessage *message );
25  virtual long Sts_DeviceSatus( EMessage *message);
26  virtual short OnReceive( EMessage *message );
27 
28  ApplicationDefines::ResultValue Init(QFile &hardwareConfigPath );
29  void HandleDeviceCommonEvent( CustomEvent *customEvent );
30 
31  EDevBaseStatus* GetDeviceStatusByDeviceOrder( long deviceOrder );
32 
33  EHwEventHandlerAbs *GetDeviceCommonHwEventHandler();
34 
35 private:
37 
38  class DataClass;
39  QSharedPointer<DataClass> d;
40 
42 
43 };
44 
45 #endif // DEVICECOMMONMANAGERAPP_H
virtual void SendEventToApp(long eventId, void *data)
Definition: DeviceCommonManagerApp.cpp:118
ApplicationDefines::ResultValue Init(QFile &hardwareConfigPath)
Definition: DeviceCommonManagerApp.cpp:251
Definition: Core.h:16
ResultValue
Definition: ApplicationDefines.h:92
EDevBaseStatus * GetDeviceStatusByDeviceOrder(long deviceOrder)
Definition: DeviceCommonManagerApp.cpp:348
virtual long Sts_DeviceSatus(EMessage *message)
Definition: DeviceCommonManagerApp.cpp:166
DeviceCommonManagerApp(Core *core)
Definition: DeviceCommonManagerApp.cpp:109
Definition: DeviceCommonManagerApp.h:17
void HandleDeviceCommonEvent(CustomEvent *customEvent)
Definition: DeviceCommonManagerApp.cpp:329
virtual short OnReceiveConcrete(EMessage *message)
Definition: DeviceCommonManagerApp.cpp:123
virtual ~DeviceCommonManagerApp()
Definition: DeviceCommonManagerApp.cpp:114
EHwEventHandlerAbs * GetDeviceCommonHwEventHandler()
Definition: DeviceCommonManagerApp.cpp:353
virtual short OnReceive(EMessage *message)
Definition: DeviceCommonManagerApp.cpp:224