OpenCores
URL https://opencores.org/ocsvn/bw_tiff_compression/bw_tiff_compression/trunk

Subversion Repositories bw_tiff_compression

[/] [bw_tiff_compression/] [trunk/] [client_application/] [src/] [Kernel/] [CDeviceState.h] - Blame information for rev 16

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 16 amulder
/*
2
 * @file     DeviceState.h
3
 * @date     May 14, 2012
4
 * @author   Aart Mulder
5
 */
6
 
7
#ifndef CDeviceState_h
8
#define CDeviceState_h
9
 
10
#include <QMutex>
11
 
12
enum EDeviceState
13
{
14
        DEVICE_STATE_UNKNOWN,
15
        DEVICE_STATE_WAIT_FOR_FIRST_START,
16
        DEVICE_STATE_STOP,
17
        DEVICE_STATE_RUN,
18
        DEVICE_STATE_PAUSE,
19
 
20
        NR_OF_DEVICE_STATES
21
};
22
 
23
 
24
class CDeviceState {
25
 
26
 public:
27
 
28
    CDeviceState();
29
 
30
    virtual ~CDeviceState();
31
 
32
    EDeviceState GetDeviceState();
33
 
34
        void SetDeviceState(EDeviceState eDeviceState);
35
 
36
 public:
37
    EDeviceState m_eDeviceState;
38
        QMutex m_oMutex;
39
};
40
 
41
#endif // CDeviceState_h

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.