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
Revision
1.7
State
Exp
Date
2007/03/15 04:14:21

Definition in file ProcessID.h.

#include "Shared/StackTrace.h"

Include dependency graph for 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::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()
const char * ProcessID::getIDStr ()
 returns a string version of the name of the process
void ProcessID::setMap (stacktrace::StackFrame idmap[])
 sets location of shared memory map from IDs to current entry point, this is required to be set up before any entry()'s
stacktrace::StackFrameProcessID::getMapFrame ()
 returns the stack frame which should be set to the entry point of the current function


Tekkotsu v3.0
Generated Fri May 11 20:06:25 2007 by Doxygen 1.4.7