My Project
|
Manager for schedulers. More...
#include <SchedulerManager.h>
Public Member Functions | |
void | AddScheduler (const SallyAPI::Scheduler::CScheduler &scheduler) |
Adds a scheduler. | |
void | CheckScheduler () |
Check scheduler. | |
void | RemoveScheduler (const std::string &explicidAppName, const std::string &identifier) |
Removes a scheduler. | |
void | RemoveScheduler (SallyAPI::GUI::CAppBase *appBase, const std::string &identifier) |
Removes a scheduler. | |
void | ExecuteScheduler (const std::string &explicidAppName, const std::string &identifier) |
Executes the scheduler operation. | |
void | ExecuteScheduler (SallyAPI::GUI::CAppBase *appBase, const std::string &identifier) |
Executes the scheduler operation. | |
void | SchedulerFinished (const std::string &explicidAppName, const std::string &identifier) |
Scheduler finished. | |
void | SchedulerFinished (SallyAPI::GUI::CAppBase *appBase, const std::string &identifier) |
Scheduler finished. | |
void | SchedulerCanceled (const std::string &explicidAppName, const std::string &identifier) |
Scheduler canceled. | |
void | SchedulerCanceled (SallyAPI::GUI::CAppBase *appBase, const std::string &identifier) |
Scheduler canceled. | |
void | ResetScheduler (const std::string &explicidAppName, const std::string &identifier) |
Resets a scheduler. | |
void | ResetScheduler (SallyAPI::GUI::CAppBase *appBase, const std::string &identifier) |
Resets a scheduler. | |
void | SetSchedulerStatus (const std::string &explicidAppName, const std::string &identifier, SallyAPI::Scheduler::SCHEDULER_STATUS status) |
Sets a scheduler status. | |
void | SetSchedulerStatus (SallyAPI::GUI::CAppBase *appBase, const std::string &identifier, SallyAPI::Scheduler::SCHEDULER_STATUS status) |
Sets a scheduler status. | |
SallyAPI::Scheduler::SCHEDULER_STATUS | GetSchedulerStatus (const std::string &explicidAppName, const std::string &identifier) |
Gets a scheduler status. | |
SallyAPI::Scheduler::SCHEDULER_STATUS | GetSchedulerStatus (SallyAPI::GUI::CAppBase *appBase, const std::string &identifier) |
Gets a scheduler status. | |
std::string | GetLastSchedulerRunAsString (const std::string &explicidAppName, const std::string &identifier) |
Gets the last scheduler run as string. | |
std::string | GetLastSchedulerRunAsString (SallyAPI::GUI::CAppBase *appBase, const std::string &identifier) |
Gets the last scheduler run as string. | |
SYSTEMTIME | GetLastSchedulerRun (const std::string &explicidAppName, const std::string &identifier) |
Gets the last scheduler run. | |
SYSTEMTIME | GetLastSchedulerRun (SallyAPI::GUI::CAppBase *appBase, const std::string &identifier) |
Gets the last scheduler run. | |
Static Public Member Functions | |
static SallyAPI::Scheduler::CSchedulerManager * | GetInstance () |
Gets the instance. | |
static void | DeleteInstance () |
Deletes an instance. |
Manager for schedulers.
void CSchedulerManager::AddScheduler | ( | const SallyAPI::Scheduler::CScheduler & | scheduler | ) |
Adds a scheduler.
scheduler | The scheduler. |
void CSchedulerManager::CheckScheduler | ( | ) |
Check scheduler.
void CSchedulerManager::DeleteInstance | ( | ) | [static] |
Deletes an instance.
void CSchedulerManager::ExecuteScheduler | ( | const std::string & | explicidAppName, |
const std::string & | identifier | ||
) |
Executes the scheduler operation.
explicidAppName | Name of the explicid application. |
identifier | The identifier. |
void CSchedulerManager::ExecuteScheduler | ( | SallyAPI::GUI::CAppBase * | appBase, |
const std::string & | identifier | ||
) |
Executes the scheduler operation.
[in,out] | appBase | If non-null, the application base. |
identifier | The identifier. |
Gets the instance.
SYSTEMTIME CSchedulerManager::GetLastSchedulerRun | ( | const std::string & | explicidAppName, |
const std::string & | identifier | ||
) |
Gets the last scheduler run.
explicidAppName | Name of the explicid application. |
identifier | The identifier. |
SYSTEMTIME CSchedulerManager::GetLastSchedulerRun | ( | SallyAPI::GUI::CAppBase * | appBase, |
const std::string & | identifier | ||
) |
Gets the last scheduler run.
[in,out] | appBase | If non-null, the application base. |
identifier | The identifier. |
std::string CSchedulerManager::GetLastSchedulerRunAsString | ( | const std::string & | explicidAppName, |
const std::string & | identifier | ||
) |
Gets the last scheduler run as string.
explicidAppName | Name of the explicid application. |
identifier | The identifier. |
std::string CSchedulerManager::GetLastSchedulerRunAsString | ( | SallyAPI::GUI::CAppBase * | appBase, |
const std::string & | identifier | ||
) |
Gets the last scheduler run as string.
[in,out] | appBase | If non-null, the application base. |
identifier | The identifier. |
SallyAPI::Scheduler::SCHEDULER_STATUS CSchedulerManager::GetSchedulerStatus | ( | const std::string & | explicidAppName, |
const std::string & | identifier | ||
) |
Gets a scheduler status.
explicidAppName | Name of the explicid application. |
identifier | The identifier. |
SallyAPI::Scheduler::SCHEDULER_STATUS CSchedulerManager::GetSchedulerStatus | ( | SallyAPI::GUI::CAppBase * | appBase, |
const std::string & | identifier | ||
) |
Gets a scheduler status.
[in,out] | appBase | If non-null, the application base. |
identifier | The identifier. |
void CSchedulerManager::RemoveScheduler | ( | const std::string & | explicidAppName, |
const std::string & | identifier | ||
) |
Removes a scheduler.
explicidAppName | Name of the explicid application. |
identifier | The identifier. |
void CSchedulerManager::RemoveScheduler | ( | SallyAPI::GUI::CAppBase * | appBase, |
const std::string & | identifier | ||
) |
Removes a scheduler.
[in,out] | appBase | If non-null, the application base. |
identifier | The identifier. |
void CSchedulerManager::ResetScheduler | ( | const std::string & | explicidAppName, |
const std::string & | identifier | ||
) |
Resets a scheduler.
explicidAppName | Name of the explicid application. |
identifier | The identifier. |
void CSchedulerManager::ResetScheduler | ( | SallyAPI::GUI::CAppBase * | appBase, |
const std::string & | identifier | ||
) |
Resets a scheduler.
[in,out] | appBase | If non-null, the application base. |
identifier | The identifier. |
void CSchedulerManager::SchedulerCanceled | ( | const std::string & | explicidAppName, |
const std::string & | identifier | ||
) |
Scheduler canceled.
explicidAppName | Name of the explicid application. |
identifier | The identifier. |
void CSchedulerManager::SchedulerCanceled | ( | SallyAPI::GUI::CAppBase * | appBase, |
const std::string & | identifier | ||
) |
Scheduler canceled.
[in,out] | appBase | If non-null, the application base. |
identifier | The identifier. |
void CSchedulerManager::SchedulerFinished | ( | const std::string & | explicidAppName, |
const std::string & | identifier | ||
) |
Scheduler finished.
explicidAppName | Name of the explicid application. |
identifier | The identifier. |
void CSchedulerManager::SchedulerFinished | ( | SallyAPI::GUI::CAppBase * | appBase, |
const std::string & | identifier | ||
) |
Scheduler finished.
[in,out] | appBase | If non-null, the application base. |
identifier | The identifier. |
void CSchedulerManager::SetSchedulerStatus | ( | const std::string & | explicidAppName, |
const std::string & | identifier, | ||
SallyAPI::Scheduler::SCHEDULER_STATUS | status | ||
) |
Sets a scheduler status.
explicidAppName | Name of the explicid application. |
identifier | The identifier. |
status | The status. |
void CSchedulerManager::SetSchedulerStatus | ( | SallyAPI::GUI::CAppBase * | appBase, |
const std::string & | identifier, | ||
SallyAPI::Scheduler::SCHEDULER_STATUS | status | ||
) |
Sets a scheduler status.
[in,out] | appBase | If non-null, the application base. |
identifier | The identifier. | |
status | The status. |