InverterProcess Class Reference

#include <InverterProcess.h>

Inheritance diagram for InverterProcess:

Process List of all members.

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 InverterProcessinverter = 0

Detailed Description

Definition at line 25 of file InverterProcess.h.


Constructor & Destructor Documentation

InverterProcess::InverterProcess (  ) 

Referenced by invertScreen().

InverterProcess::InverterProcess ( unsigned int  targetstate  ) 

Definition at line 50 of file InverterProcess.cpp.

References targetstate.

InverterProcess::~InverterProcess (  )  [virtual]

Definition at line 56 of file InverterProcess.cpp.

References inverter.


Member Function Documentation

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]

Definition at line 35 of file InverterProcess.h.

Referenced by invertScreen().


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Fri Jul 27 22:29:24 2007 for pentagram by  doxygen 1.4.7