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] - Rev 16

Compare with Previous | Blame | View Log

/*
 * @file     DeviceState.h
 * @date     May 14, 2012
 * @author   Aart Mulder
 */
 
#ifndef CDeviceState_h
#define CDeviceState_h
 
#include <QMutex>
 
enum EDeviceState
{
	DEVICE_STATE_UNKNOWN,
	DEVICE_STATE_WAIT_FOR_FIRST_START,
	DEVICE_STATE_STOP,
	DEVICE_STATE_RUN,
	DEVICE_STATE_PAUSE,
 
	NR_OF_DEVICE_STATES
};
 
 
class CDeviceState {
 
 public:
 
    CDeviceState();
 
    virtual ~CDeviceState();
 
    EDeviceState GetDeviceState();
 
	void SetDeviceState(EDeviceState eDeviceState);
 
 public:
    EDeviceState m_eDeviceState;
	QMutex m_oMutex;
};
 
#endif // CDeviceState_h
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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