VR-Forces 4.0.4 Class Documentation
Classes | Public Member Functions | Static Public Member Functions | Protected Attributes
DtVrfObjectMessageFactory Class Reference

DtVrfObjectMessageFactory is a hashlist of DtVrfObjectMessage creator functions indexed by the integer type. More...

Inheritance diagram for DtVrfObjectMessageFactory:
Inheritance graph
[legend]

List of all members.

Classes

struct  DtVrfObjectMessageFactoryEntry
 Structure used as an entry internally in the hash list for this class. More...

Public Member Functions

 DtVrfObjectMessageFactory ()
 constructor
 DtVrfObjectMessageFactory (const DtVrfObjectMessageFactory &orig)
 copy constructor
const DtVrfObjectMessageFactoryoperator= (const DtVrfObjectMessageFactory &orig)
 assignment operator
virtual ~DtVrfObjectMessageFactory ()
 Destructor: deletes factory and any entries on the factory.
virtual void addCreatorFcn (const int type, DtVrfObjectMessageCreatorFcn fcn)
 Add a creator function to the factory.
virtual DtVrfObjectMessagecreateRadioMessage (const int type)
virtual DtVrfObjectMessagecreateVrfObjectMessage (const int type)
 Creates and returns a new DtVrfObjectMessage instance based on the type that is passed in.

Static Public Member Functions

static DtVrfObjectMessageFactorycreate ()

Protected Attributes

DtHashlist myHashlist

Detailed Description

DtVrfObjectMessageFactory is a hashlist of DtVrfObjectMessage creator functions indexed by the integer type.


Constructor & Destructor Documentation

constructor

copy constructor

Destructor: deletes factory and any entries on the factory.


Member Function Documentation

const DtVrfObjectMessageFactory& DtVrfObjectMessageFactory::operator= ( const DtVrfObjectMessageFactory orig)

assignment operator

virtual void DtVrfObjectMessageFactory::addCreatorFcn ( const int  type,
DtVrfObjectMessageCreatorFcn  fcn 
) [virtual]

Add a creator function to the factory.

virtual DtVrfObjectMessage* DtVrfObjectMessageFactory::createRadioMessage ( const int  type) [virtual]

Creates and returns a new DtVrfObjectMessage instance based on the type that is passed in.

Returns:
A new instance of this class.

Reimplemented in DtDefaultVrfObjectMessageFactory.


Member Data Documentation


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)