My Project
SallyAPI::Scheduler::CScheduler Class Reference

Scheduler. More...

#include <Scheduler.h>

List of all members.

Public Member Functions

 CScheduler (SallyAPI::GUI::CAppBase *reporterWindow, int reporterId, int messageId, const std::string &identifier, int runEveryDays)
 Constructor.
 ~CScheduler ()
 Destructor.
SallyAPI::GUI::CAppBaseGetReporterWindow ()
 Gets the reporter window.
std::string GetIdentifier ()
 Gets the identifier.
int GetReporterId ()
 Gets the reporter identifier.
int GetMessageId ()
 Gets the message identifier.
int GetRunEveryDays ()
 Gets the run every days.
void SetRunning (bool running)
 Sets a running.
bool IsRunning ()
 Query if this object is running.
SYSTEMTIME GetStartTime ()
 Gets the start time.
SallyAPI::Scheduler::SCHEDULER_STATUS GetStatus ()
 Gets the status.
void SetStatus (SallyAPI::Scheduler::SCHEDULER_STATUS status)
 Sets a status.

Detailed Description

Scheduler.

Author:
Christian Knobloch
Date:
19.04.2010

Constructor & Destructor Documentation

CScheduler::CScheduler ( SallyAPI::GUI::CAppBase reporterWindow,
int  reporterId,
int  messageId,
const std::string &  identifier,
int  runEveryDays 
)

Constructor.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
[in,out]reporterWindowIf non-null, the reporter window.
reporterIdIdentifier for the reporter.
messageIdIdentifier for the message.
identifierThe identifier.
runEveryDaysThe run every in days.

Destructor.

Author:
Christian Knobloch
Date:
19.04.2010

Member Function Documentation

std::string CScheduler::GetIdentifier ( )

Gets the identifier.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
The identifier.

Gets the message identifier.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
The message identifier.

Gets the reporter identifier.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
The reporter identifier.

Gets the reporter window.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
null if it fails, else the reporter window.

Gets the run every days.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
The run every days.
SYSTEMTIME CScheduler::GetStartTime ( )

Gets the start time.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
The start time.

Gets the status.

Author:
Christian Knobloch
Date:
01.04.2011
Returns:
null if it fails, else the status.

Query if this object is running.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
true if running, false if not.
void CScheduler::SetRunning ( bool  running)

Sets a running.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
runningtrue to running.

Sets a status.

Author:
Christian Knobloch
Date:
01.04.2011
Parameters:
[in,out]statusIf non-null, the status.

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