My Project
|
Timer. More...
#include <Timer.h>
Public Member Functions | |
CTimer (int timeoutSecond, SallyAPI::GUI::CGUIBaseObject *reporterWindow, int reporterId, int messageId) | |
Constructor. | |
virtual | ~CTimer () |
Destructor. | |
int | GetTimeElapse () |
Gets the time elapse. | |
void | SetTimeout (int timeoutSecond) |
Sets a timeout. | |
void | Reset () |
Resets this object. | |
void | ExecuteNow () |
Executes the now operation. |
Timer.
CTimer::CTimer | ( | int | timeoutSecond, |
SallyAPI::GUI::CGUIBaseObject * | reporterWindow, | ||
int | reporterId, | ||
int | messageId | ||
) |
Constructor.
m_pReporterWindow(reporterWindow), m_iReporterId(reporterId), m_iMessageId(messageId)
timeoutSecond | The timeout second. | |
[in,out] | reporterWindow | If non-null, the reporter window. |
reporterId | Identifier for the reporter. | |
messageId | Identifier for the message. |
CTimer::~CTimer | ( | ) | [virtual] |
Destructor.
void CTimer::ExecuteNow | ( | ) |
Executes the now operation.
int CTimer::GetTimeElapse | ( | ) |
Gets the time elapse.
void CTimer::Reset | ( | ) |
Resets this object.
void CTimer::SetTimeout | ( | int | timeoutSecond | ) |
Sets a timeout.
timeoutSecond | The timeout second. |