VR-Forces 4.0.4 Class Documentation
examples/createParamDbDynamically/parameterDbEntryFactory.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2005 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: parameterDbEntryFactory.h,v $ $Revision: 1.6 $ $State: Exp $
00007 *******************************************************************************/
00008 
00009 #ifndef DtParameterDbEntryFactory_H_
00010 #define DtParameterDbEntryFactory_H_
00011 
00012 class DtVrfObjectParameters;
00013 class DtComponentDescriptorList;
00014 class DtTargetDetectionSensorDescriptor;
00015 class DtObstacleSensorDescriptor;
00016 class DtComponentDescriptor;
00017 
00018 //class DtParameterDbEntryFactory:
00019 //
00020 //Instances of DtParameterDbEntryFactory are a factory class that
00021 //knows how to construct various types of parameter database
00022 //entries.  It delegates responsibility for actually building the
00023 //indvidual parameter entries to helper classes (DtTankParametersBuilder,
00024 //DtWaypointParametersBuilder, etc.).  Parameters object returned by
00025 //this class should be fully constructed and configured (all of their
00026 //resources, components, parameter settings appropriate to the particular
00027 //type of object are specified).
00028 
00029 class DtParameterDbEntryFactory
00030 {
00031 public:
00032    //constructor
00033    DtParameterDbEntryFactory();
00034 
00035    //Returns a new instances of parameters objects.  The caller is
00036    //responsible for deleting memory associated with these items.
00037    virtual DtVrfObjectParameters* createTank();
00038    virtual DtVrfObjectParameters* createTankPlatoon();
00039    virtual DtVrfObjectParameters* createWaypoint();
00040    virtual DtVrfObjectParameters* createRoute();
00041    virtual DtVrfObjectParameters* createForceLevelAggregate();
00042 
00043 protected:
00044 
00045    //copy constructor - not implemented
00046    DtParameterDbEntryFactory(const DtParameterDbEntryFactory& orig);
00047 
00048    //assignment operator - not implemented
00049    DtParameterDbEntryFactory& operator=(const DtParameterDbEntryFactory& orig);
00050 };
00051 
00052 #endif

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)