#include <InverterProcess.h>
Inheritance diagram for InverterProcess:
Public Member Functions | |
InverterProcess () | |
InverterProcess (unsigned int targetstate) | |
virtual | ~InverterProcess () |
ENABLE_RUNTIME_CLASSTYPE () | |
void | setTarget (unsigned int target) |
virtual bool | run (const uint32 framenum) |
INTRINSIC (I_invertScreen) | |
bool | loadData (IDataSource *ids, uint32 version) |
Static Public Member Functions | |
static ProcId | invertScreen () |
static void | ConCmd_invertScreen (const Console::ArgvType &argv) |
Protected Member Functions | |
virtual void | saveData (ODataSource *ods) |
Protected Attributes | |
unsigned int | targetstate |
Static Protected Attributes | |
static InverterProcess * | inverter = 0 |
Definition at line 25 of file InverterProcess.h.
InverterProcess::InverterProcess | ( | ) |
Referenced by invertScreen().
InverterProcess::InverterProcess | ( | unsigned int | targetstate | ) |
InverterProcess::~InverterProcess | ( | ) | [virtual] |
void InverterProcess::ConCmd_invertScreen | ( | const Console::ArgvType & | argv | ) | [static] |
Definition at line 119 of file InverterProcess.cpp.
References invertScreen().
Referenced by GUIApp::shutdownGame(), and GUIApp::startupGame().
InverterProcess::ENABLE_RUNTIME_CLASSTYPE | ( | ) |
Reimplemented from Process.
InverterProcess::INTRINSIC | ( | I_invertScreen | ) |
ProcId InverterProcess::invertScreen | ( | ) | [static] |
Definition at line 96 of file InverterProcess.cpp.
References Kernel::addProcess(), Kernel::get_instance(), GUIApp::get_instance(), Process::getPid(), inverter, InverterProcess(), setTarget(), and targetstate.
Referenced by ConCmd_invertScreen().
bool InverterProcess::loadData | ( | IDataSource * | ids, | |
uint32 | version | |||
) |
load Process data
Reimplemented from Process.
Definition at line 85 of file InverterProcess.cpp.
References inverter, Process::loadData(), and targetstate.
bool InverterProcess::run | ( | const uint32 | framenum | ) | [virtual] |
Implements Process.
Definition at line 62 of file InverterProcess.cpp.
References GUIApp::get_instance(), GUIApp::getInversion(), GUIApp::setInversion(), states, targetstate, and Process::terminate().
void InverterProcess::saveData | ( | ODataSource * | ods | ) | [protected, virtual] |
save the Process data
Reimplemented from Process.
Definition at line 78 of file InverterProcess.cpp.
References Process::saveData(), targetstate, and ODataSource::write2().
void InverterProcess::setTarget | ( | unsigned int | target | ) | [inline] |
InverterProcess * InverterProcess::inverter = 0 [static, protected] |
Definition at line 48 of file InverterProcess.h.
Referenced by invertScreen(), loadData(), and ~InverterProcess().
unsigned int InverterProcess::targetstate [protected] |
Definition at line 49 of file InverterProcess.h.
Referenced by InverterProcess(), invertScreen(), loadData(), run(), and saveData().