Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ProcessID.cc File Reference


Detailed Description

Declares the static ProcessID::ID, that's all.

Author:
ejt (Creator)
Author
ejt
Name
tekkotsu-3_0
Revision
1.6
State
Exp
Date
2006/09/16 06:01:40

Definition in file ProcessID.cc.

#include "ProcessID.h"
#include "Shared/WorldState.h"
#include <iostream>

Include dependency graph for ProcessID.cc:

Go to the source code of this file.

Namespaces

namespace  ProcessID

Functions

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
ProcessID_t ProcessID::getID ()
 returns process's ID number
void ProcessID::setID (ProcessID_t id)
 sets the ID during init (be careful you know what you're doing if you call this)

Variables

ProcessID_t ProcessID::ID = NumProcesses
 holds ID number
StackFrameProcessID::frames = NULL
 array of StackFrame structures, one per NumProcesses, set by setMap()


Tekkotsu v3.0
Generated Wed Oct 4 00:04:28 2006 by Doxygen 1.4.7