Vesna
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
DeviceLockBusinessLogic.h
Go to the documentation of this file.
1 #ifndef DEVICELOCKBUSINESSLOGIC_H
2 #define DEVICELOCKBUSINESSLOGIC_H
3 
5 
7 {
8 public:
10 
12  virtual ~DeviceLockBusinessLogic();
13 
14  bool GetLockStatus() const;
15  bool GetLockedByDriver() const;
16  bool GetUnlockOnBusStopChange() const;
17 
18  void Lock( bool lockedByDriver = false );
19  void Unlock();
20 
21 private:
23 
24  class DataClass;
25  QScopedPointer<DataClass> d;
26 
28 };
29 
30 #endif // DEVICELOCKBUSINESSLOGIC_H
DeviceLockBusinessLogic()
Definition: DeviceLockBusinessLogic.cpp:29
void Unlock()
Definition: DeviceLockBusinessLogic.cpp:68
bool GetUnlockOnBusStopChange() const
Definition: DeviceLockBusinessLogic.cpp:49
virtual ~DeviceLockBusinessLogic()
Definition: DeviceLockBusinessLogic.cpp:35
bool GetLockStatus() const
Definition: DeviceLockBusinessLogic.cpp:39
The BusinessLogic class is the base class of all business logic classes. Every inherited class has to...
Definition: BusinessLogic.h:11
Definition: DeviceLockBusinessLogic.h:6
bool GetLockedByDriver() const
Definition: DeviceLockBusinessLogic.cpp:44
Definition: BusinessLogic.cpp:3
Definition: ApplicationDefines.h:213
static const ApplicationDefines::BusinessLogicType mBusinessLogicType
Definition: DeviceLockBusinessLogic.h:9
BusinessLogicType
Definition: ApplicationDefines.h:186
void Lock(bool lockedByDriver=false)
Definition: DeviceLockBusinessLogic.cpp:62