Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ProcessID.h File Reference


Detailed Description

Defines ProcessID - simple little global for checking which process is currently running, kind of. (see ProcessID::getID() ).

Author:
ejt (Creator)
Author
ejt
Name
tekkotsu-4_0
Revision
1.8
State
Exp
Date
2007/11/09 19:01:18

Definition in file ProcessID.h.

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ProcessID

Enumerations

enum  ProcessID::ProcessID_t {
  ProcessID::MainProcess, ProcessID::MotionProcess, ProcessID::SoundProcess, ProcessID::SimulatorProcess,
  ProcessID::NumProcesses
}
 Holds ID number for each process. More...

Functions

ProcessID_t ProcessID::getID ()
 returns process's ID number, subject to overriding via setIDHooks()
void ProcessID::setID (ProcessID_t id)
 sets the ID during init (be careful you know what you're doing if you call this), subject to overriding via setIDHooks()
void ProcessID::setIDHooks (ProcessID_t(*customGetID)(), void(*customSetID)(ProcessID_t id))
 allows you to override the behavior of getID and setID -- pass NULL to use default behavior
ProcessID_t ProcessID::getUnhookedID ()
 returns process's ID number from static global, the default behavior if setIDHooks was passed NULL
void ProcessID::setUnhookedID (ProcessID_t id)
 sets the ID into static global (be careful you know what you're doing if you call this), this is the default behavior if setIDHooks was passed NULL
const char * ProcessID::getIDStr ()
 returns a string version of the name of the process


Tekkotsu v4.0
Generated Thu Nov 22 00:56:49 2007 by Doxygen 1.5.4