My Project
SallyAPI::GUI::CTimer Class Reference

Timer. More...

#include <Timer.h>

Inheritance diagram for SallyAPI::GUI::CTimer:
SallyAPI::System::CThread

List of all members.

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.

Detailed Description

Timer.

Author:
Christian Knobloch
Date:
19.04.2010

Constructor & Destructor Documentation

CTimer::CTimer ( int  timeoutSecond,
SallyAPI::GUI::CGUIBaseObject reporterWindow,
int  reporterId,
int  messageId 
)

Constructor.

m_pReporterWindow(reporterWindow), m_iReporterId(reporterId), m_iMessageId(messageId)

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
timeoutSecondThe timeout second.
[in,out]reporterWindowIf non-null, the reporter window.
reporterIdIdentifier for the reporter.
messageIdIdentifier for the message.
CTimer::~CTimer ( ) [virtual]

Destructor.

Author:
Christian Knobloch
Date:
19.04.2010

Member Function Documentation

Executes the now operation.

Author:
Christian Knobloch
Date:
19.04.2010

Gets the time elapse.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
The time elapse.
void CTimer::Reset ( )

Resets this object.

Author:
Christian Knobloch
Date:
19.04.2010
void CTimer::SetTimeout ( int  timeoutSecond)

Sets a timeout.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
timeoutSecondThe timeout second.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines