![]() |
VR-Forces 4.0.4 Class Documentation
|
Base class for Proctor classes. More...

Public Types | |
| enum | ProctorId { ProctorId_DtDeProctor = 32, ProctorId_DtSceneProctor = 33, ProctorId_DtWindowProctor = 34, ProctorID_DtChanneProctor = 35, ProctorID_DtDisplayEngineProctor = 36, ProctorID_DtDeSharedStateProctor = 37, ProctorId_UserStart = 0x8000, end_ProctorId = 0x10000 } |
| Ids used for proctors. Each proctor class must have a unique id. More... | |
Public Member Functions | |
| DtProctor (DtDe &, unsigned short classId) | |
| CTOR. | |
| virtual | ~DtProctor () |
| DTOR. | |
| void | executeFunction (DtMessage &msg) |
| Execute the proper message function for the message. | |
| DtDe & | de () |
| Get the IG for the proctor. | |
Protected Types | |
| typedef void(* | MessageFunction )(DtProctor *, DtMessage &) |
| typedef std::map< int, MessageFunction > | FunctionMap |
Protected Member Functions | |
| void | registerFunction (unsigned int functionId, MessageFunction func) |
| Register a message function to handle a message. | |
Protected Attributes | |
| FunctionMap | myFunctions |
| DtDe & | myDe |
| unsigned short | myClassId |
Base class for Proctor classes.
typedef void(* makVrv::DtProctor::MessageFunction)(DtProctor *, DtMessage &) [protected] |
typedef std::map<int,MessageFunction> makVrv::DtProctor::FunctionMap [protected] |
Ids used for proctors. Each proctor class must have a unique id.
| makVrv::DtProctor::DtProctor | ( | DtDe & | , |
| unsigned short | classId | ||
| ) |
CTOR.
| virtual makVrv::DtProctor::~DtProctor | ( | ) | [virtual] |
DTOR.
| void makVrv::DtProctor::executeFunction | ( | DtMessage & | msg | ) |
Execute the proper message function for the message.
Get the IG for the proctor.
| void makVrv::DtProctor::registerFunction | ( | unsigned int | functionId, |
| MessageFunction | func | ||
| ) | [protected] |
Register a message function to handle a message.
FunctionMap makVrv::DtProctor::myFunctions [protected] |
DtDe& makVrv::DtProctor::myDe [protected] |
unsigned short makVrv::DtProctor::myClassId [protected] |