| Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
ProcessID Namespace ReferenceDetailed Descriptionholds information to identify currently running processAlthough the ProcessID_t enum specifies the maximum number of processes in its NumProcesses value, this doesn't have to correspond to the actual number of active processes. If you want an element of dynamicism to launch and/or close processes at runtime, simply increase the NumProcesses to a higher value so that space can be allocated for those processes in shared memory regions for things like attachment pointers or other per-process data. Not all processes need to have a *named* id, they just need a unique id.
Enumeration Type DocumentationHolds ID number for each process.
Definition at line 23 of file ProcessID.h.
Function Documentation
sets location of shared memory map from IDs to current entry point, this is required to be set up before any entry()'s
Definition at line 26 of file ProcessID.cc.
returns the stack frame which should be set to the entry point of the current function this is only valid if it is called before any shared object processing is done Definition at line 30 of file ProcessID.cc.
returns process's ID number
Definition at line 39 of file ProcessID.cc. Referenced by SharedObject< UPennWalkMC >::createRCRegion(), WorldStatePool::doReleaseResource(), WorldStatePool::doUseResource(), WorldState::getCurrent(), WorldStatePool::getCurrentWriteState(), getIDStr(), SoundManager::InitAccess(), SoundManager::loadBuffer(), MotionManager::processMsg(), MutexLock< MAX_ACCESS >::useResource(), and WorldStatePool::WorldStatePool().
sets the ID during init (be careful you know what you're doing if you call this)
Definition at line 72 of file ProcessID.cc.
returns a string version of the name of the process
Definition at line 37 of file ProcessID.h. Referenced by WorldState::chkEvent(), WorldStatePool::isUnread(), MotionManager::processMsg(), and MotionManager::RemoveAccess().
Variable Documentation
holds ID number
Definition at line 13 of file ProcessID.cc. Referenced by getID(), getMapFrame(), and setID().
array of StackFrame structures, one per NumProcesses, set by setMap()
Definition at line 23 of file ProcessID.cc. Referenced by getID(), getMapFrame(), MotionManager::getOutputs(), setMap(), MotionManager::setOutput(), MotionSequenceMC< MAXMOVE >::updateOutputs(), and DynamicMotionSequence::updateOutputs().
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Tekkotsu v3.0 |
Generated Wed Oct 4 00:05:24 2006 by Doxygen 1.4.7 |