![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /******************************************************************************* 00002 ** Copyright (c) 2004 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 *******************************************************************************/ 00005 /******************************************************************************* 00006 ** $RCSfile: tankPlatoonParametersBuilder.h,v $ $Revision: 1.3 $ $State: Exp $ 00007 *******************************************************************************/ 00008 00009 #ifndef DtTankPlatoonParametersBuilder_H_ 00010 #define DtTankPlatoonParametersBuilder_H_ 00011 00012 #include "objectParametersBuilder.h" 00013 00014 class DtMovingObjectParameters; 00015 00016 //class DtTankPlatoonParametersBuilder: 00017 // 00018 //Instances of DtTankPlatoonParametersBuilder are used to create and 00019 //configure a DtVrfObjectParameters object for a tank platoon aggregate 00020 //entity. The parameters object returned should fully specify the necessary 00021 //parameters to create a tank platoon. 00022 00023 class DtTankPlatoonParametersBuilder : public DtObjectParametersBuilder 00024 { 00025 public: 00026 00027 //default constructor 00028 DtTankPlatoonParametersBuilder(); 00029 00030 //destructor 00031 virtual ~DtTankPlatoonParametersBuilder(); 00032 00033 //Creates and configures parameters for a tank platoon aggregate 00034 //entity. 00035 virtual DtVrfObjectParameters* buildObjectParameters(); 00036 00037 protected: 00038 00039 //Create and configure sensors, controllers, and actuators for the given 00040 //movingObjectParameters object. Connects appropriate components to one another. 00041 virtual void createAndConfigureComponents(DtMovingObjectParameters& parameters); 00042 00043 //Create and configure subordinates entities for the given parameters object. 00044 //Adds 4 tank subordinate entries. 00045 virtual void createAndConfigureSubordinates(DtMovingObjectParameters& parameters); 00046 00047 //Configure local and remote subcomponent types for the given parameters object. 00048 //Specifies the kinds of state repository, network interface, radio, etc. to 00049 //create when an object is created using this the parameters object. 00050 virtual void configureSubComponentTypes(DtVrfObjectParameters& parameters); 00051 00052 //copy constructor - not implemented 00053 DtTankPlatoonParametersBuilder(const DtTankPlatoonParametersBuilder& orig); 00054 00055 //assignment operator - not implemented 00056 DtTankPlatoonParametersBuilder& operator=(const DtTankPlatoonParametersBuilder& orig); 00057 }; 00058 00059 #endif