Homepage Demos Overview Downloads Tutorials Reference
Credits

ProcessID Class Reference

#include <ProcessID.h>

List of all members.


Detailed Description

this is a class instead of a namespace so i can limit write access of the ID value to the OObjects

Definition at line 6 of file ProcessID.h.

Public Types

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

Static Public Member Functions

ProcessID_t getID ()
 returns process's ID number, or if within a virtual function on a shared object, the process which created it (annoying)

Static Private Member Functions

void setID (ProcessID_t id)
 sets the ID during init

Static Private Attributes

ProcessID_t ID = ProcessID::NumProcesses
 holds ID number

Friends

class MMCombo
 so that it can set the ID during init
class SoundPlay
 so that it can set the ID during init


Member Enumeration Documentation

enum ProcessID::ProcessID_t
 

Holds ID number for each process.

Enumeration values:
MainProcess  MainObj process.
MotionProcess  MotoObj process.
SoundProcess  SoundPlay process.
NumProcesses  count of processes

Definition at line 9 of file ProcessID.h.


Member Function Documentation

ProcessID_t ProcessID::getID  )  [inline, static]
 

returns process's ID number, or if within a virtual function on a shared object, the process which created it (annoying)

Definition at line 16 of file ProcessID.h.

Referenced by SoundManager::InitAccess(), SoundManager::LoadBuffer(), SoundManager::Play(), MMCombo::ReadySendJoints(), and SoundManager::Release().

void ProcessID::setID ProcessID_t  id  )  [inline, static, private]
 

sets the ID during init

Definition at line 21 of file ProcessID.h.

Referenced by SoundPlay::DoInit(), and MMCombo::DoInit().


Friends And Related Function Documentation

friend class MMCombo [friend]
 

so that it can set the ID during init

Definition at line 19 of file ProcessID.h.

friend class SoundPlay [friend]
 

so that it can set the ID during init

Definition at line 20 of file ProcessID.h.


Member Data Documentation

ProcessID::ProcessID_t ProcessID::ID = ProcessID::NumProcesses [static, private]
 

holds ID number

Definition at line 3 of file ProcessID.cc.


The documentation for this class was generated from the following files:

Tekkotsu v2.2
Generated Tue Oct 19 14:20:21 2004 by Doxygen 1.3.9.1