VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
makVrv::DtProctor Class Reference

Base class for Proctor classes. More...

Inheritance diagram for makVrv::DtProctor:
Inheritance graph
[legend]

List of all members.

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.
DtDede ()
 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
DtDemyDe
unsigned short myClassId

Detailed Description

Base class for Proctor classes.


Member Typedef Documentation

typedef void(* makVrv::DtProctor::MessageFunction)(DtProctor *, DtMessage &) [protected]
typedef std::map<int,MessageFunction> makVrv::DtProctor::FunctionMap [protected]

Member Enumeration Documentation

Ids used for proctors. Each proctor class must have a unique id.

Enumerator:
ProctorId_DtDeProctor 

Internal Used Ids.

ProctorId_DtSceneProctor 
ProctorId_DtWindowProctor 
ProctorID_DtChanneProctor 
ProctorID_DtDisplayEngineProctor 
ProctorID_DtDeSharedStateProctor 
ProctorId_UserStart 

Start of User level ids.

end_ProctorId 

past valid id which is 0xFFFF


Constructor & Destructor Documentation

makVrv::DtProctor::DtProctor ( DtDe ,
unsigned short  classId 
)

CTOR.

virtual makVrv::DtProctor::~DtProctor ( ) [virtual]

DTOR.


Member Function Documentation

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.


Member Data Documentation

unsigned short makVrv::DtProctor::myClassId [protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)