Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
ProcessID Namespace Referenceholds information to identify currently running process More...
Detailed Descriptionholds information to identify currently running process Although 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
returns process's ID number, subject to overriding via setIDHooks() Referenced by RCRegion::aboutToFork(), MessageQueueBase::addMessageFilter(), RCRegion::AddReference(), IPCEventTranslator::bufferRequest(), SharedObject< UPennWalkMC >::createRCRegion(), RegionRegistry< MAX_REGIONS, NAME_LEN >::erase(), RCRegion::faultShutdown(), MotionManager::getAccID(), getIDStr(), Thread::handle_exit(), SoundManager::InitAccess(), MotionManager::InitAccess(), SoundManager::initRegion(), KnowledgeBase::learn(), SoundManager::loadBuffer(), RCRegion::NumberOfLocalReference(), KnowledgeBase::objectExists(), WorldStateLookup::operator WorldState *(), WorldStateLookup::operator*(), WorldStateLookup::operator->(), RegionRegistry< MAX_REGIONS, NAME_LEN >::operator[](), SoundManager::play(), MotionCommand::postEvent(), EventRouter::processEvent(), MotionManager::processMsg(), KnowledgeBase::readFromFile(), RegionRegistry< MAX_REGIONS, NAME_LEN >::registerRegion(), SoundManager::release(), MessageQueueBase::removeMessageFilter(), MotionManager::removeMotion(), RCRegion::RemoveReference(), RCRegion::RemoveSharedReference(), SoundManager::resumePlay(), RunSequenceControl< SequenceSize >::selectedFile(), LoadPostureControl::selectedFile(), MessageQueue< MAX_UNREAD, MAX_RECEIVERS, MAX_SENDERS >::sendMessage(), Thread::testCurrentCancel(), SiftTekkotsu::train_addNewModel(), SiftTekkotsu::train_addNewObject(), SiftTekkotsu::train_removeModel(), SiftTekkotsu::train_removeObject(), and MutexLock< MAX_ACCESS >::useResource().
returns a string version of the name of the current process Definition at line 61 of file ProcessID.h.
returns a string version of the name of the process Definition at line 48 of file ProcessID.h. Referenced by MotionManager::checkinMotion(), MotionManager::checkoutMotion(), getIDStr(), MotionManager::processMsg(), MotionManager::RemoveAccess(), and MotionManager::removeMotion().
returns process's ID number from static global, the default behavior if setIDHooks was passed NULL
sets the ID during init (be careful you know what you're doing if you call this), subject to overriding via setIDHooks()
allows you to override the behavior of getID and setID -- pass NULL to use default behavior
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 Variable Documentation
hook allows overriding the ID system, set with ProcessID::setIDHooks Definition at line 22 of file ProcessID.cc.
holds ID number Definition at line 16 of file ProcessID.cc.
hook allows overriding the ID system, set with ProcessID::setIDHooks Definition at line 23 of file ProcessID.cc. |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:25 2016 by Doxygen 1.6.3 |