VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | 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]

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

void makVrv::DtProctor::executeFunction ( DtMessage msg)

Execute the proper message function for the message.

DtDe& makVrv::DtProctor::de ( )

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

FunctionMap makVrv::DtProctor::myFunctions
protected
DtDe& makVrv::DtProctor::myDe
protected
unsigned short makVrv::DtProctor::myClassId
protected

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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)