You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
559 B
C++
28 lines
559 B
C++
// Timer.h: interface for the CTimer class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
|
|
#include "TimeEquipSubState.h"
|
|
#include "DllDefines.h"
|
|
|
|
class MCCTRDLLCLASS CTimer : public CTimeEquipSubState
|
|
{
|
|
public:
|
|
// default constructor
|
|
explicit CTimer(long lTimeOutInSec = 0);
|
|
|
|
// default destructor
|
|
virtual ~CTimer();
|
|
|
|
// set time out in sec
|
|
void SetTimeOutInSec(long lTimeOutInSec);
|
|
|
|
// is time out
|
|
bool IsTimeOut();
|
|
|
|
private:
|
|
long m_lTimeOutInSec{ 0 }; // time out in sec
|
|
};
|