#include <SchedulerProcess.h>
Inheritance diagram for SchedulerProcess:
Public Member Functions | |
SchedulerProcess () | |
ENABLE_RUNTIME_CLASSTYPE () | |
virtual bool | run (const uint32 framenum) |
bool | loadData (IDataSource *ids, uint32 version) |
Protected Member Functions | |
virtual void | saveData (ODataSource *ods) |
Protected Attributes | |
uint32 | lastRun |
uint16 | nextActor |
Definition at line 24 of file SchedulerProcess.h.
SchedulerProcess::SchedulerProcess | ( | ) |
Definition at line 32 of file SchedulerProcess.cpp.
References lastRun, nextActor, and Process::type.
SchedulerProcess::ENABLE_RUNTIME_CLASSTYPE | ( | ) |
Reimplemented from Process.
bool SchedulerProcess::loadData | ( | IDataSource * | ids, | |
uint32 | version | |||
) |
load Process data
Reimplemented from Process.
Definition at line 86 of file SchedulerProcess.cpp.
References lastRun, Process::loadData(), and nextActor.
bool SchedulerProcess::run | ( | const uint32 | framenum | ) | [virtual] |
Implements Process.
Definition at line 39 of file SchedulerProcess.cpp.
References Item::callUsecodeEvent_schedule(), GUIApp::get_instance(), getActor(), GUIApp::getGameTimeInSeconds(), lastRun, nextActor, pout, and Process::waitFor().
void SchedulerProcess::saveData | ( | ODataSource * | ods | ) | [protected, virtual] |
save the Process data
Reimplemented from Process.
Definition at line 78 of file SchedulerProcess.cpp.
References lastRun, nextActor, Process::saveData(), ODataSource::write2(), and ODataSource::write4().
uint32 SchedulerProcess::lastRun [protected] |
Definition at line 38 of file SchedulerProcess.h.
Referenced by loadData(), run(), saveData(), and SchedulerProcess().
uint16 SchedulerProcess::nextActor [protected] |
Definition at line 39 of file SchedulerProcess.h.
Referenced by loadData(), run(), saveData(), and SchedulerProcess().