VR-Forces 4.0.4 Class Documentation
include/vrfGuiObjectInformationQt/DtEntityInformationPageItems.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtEntityInformationPageItems.h,v $ $Revision: 1.1 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #pragma once
00014 
00015 #include <vrfGuiObjectInformationQt/vrfGuiObjectInformationQt.h>
00016 #include <vrfGuiObjectInformationQt/DtInformationDialogPage.h>
00017 #include <vrfGuiCore/DtVrfObjectDataState.h>
00018 
00019 class QComboBox;
00020 
00021 namespace makVrf
00022 {
00023    class DtVrfStateViewCollectionManager;
00024 
00025    namespace makVrfGuiObjectInformationQt
00026    {
00027       class DtInformationDialogPageLogic;
00028 
00029       class DT_DLL_VRFGUIOBJECTINFORMATIONQT DtEntityStatePageItem : public DtItemUpdateFunction
00030       {
00031       public:
00032          DtEntityStatePageItem()
00033          : DtItemUpdateFunction()
00034          {
00035          }
00036 
00037          DtEntityStatePageItem(DtInformationDialogPageLogic* l)
00038          : DtItemUpdateFunction(l)
00039          {
00040          }
00041 
00042          virtual QVariant value(int col, int role, const QTreeWidgetItem*,
00043             makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00044          virtual bool valueNeedsUpdate(int col,  makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00045 
00046          virtual QString value(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00047          virtual QString title(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00048       protected:
00049          QString myCurrentValue;
00050       };
00051 
00052       class DT_DLL_VRFGUIOBJECTINFORMATIONQT DtEntityStateEntityId : public DtEntityStatePageItem
00053       {
00054       public:
00055          DtEntityStateEntityId()
00056          : DtEntityStatePageItem()
00057          {
00058          }
00059 
00060          DtEntityStateEntityId(DtInformationDialogPageLogic* l)
00061          : DtEntityStatePageItem(l)
00062          {
00063          }
00064 
00065          static std::string creatorName();
00066 
00067       protected:
00068          virtual QString value(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00069          virtual QString title(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00070       };
00071 
00072       typedef DtItemUpdateFunctionCreator<DtEntityStateEntityId> DtEntityStateEntityIdCreator;
00073 
00074       class DT_DLL_VRFGUIOBJECTINFORMATIONQT DtEntityStateObjectDataItem : public DtEntityStatePageItem
00075       {
00076       public:
00077          DtEntityStateObjectDataItem()
00078          : DtEntityStatePageItem()
00079          , myManager(0)
00080          {
00081          }
00082 
00083          DtEntityStateObjectDataItem(DtInformationDialogPageLogic* l);
00084 
00085          virtual void setLogic(DtInformationDialogPageLogic* l);
00086 
00087       protected:
00088          virtual QString value(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00089          virtual QString value(const makVrv::DtStateView<DtVrfObjectDataState>&);
00090 
00091       protected:
00092          DtVrfStateViewCollectionManager* myManager;
00093       };
00094 
00095       class DT_DLL_VRFGUIOBJECTINFORMATIONQT DtEntityStateEchelonId : public DtEntityStateObjectDataItem
00096       {
00097       public:
00098          DtEntityStateEchelonId()
00099          : DtEntityStateObjectDataItem()
00100          {
00101          }
00102 
00103          DtEntityStateEchelonId(DtInformationDialogPageLogic* l)
00104          : DtEntityStateObjectDataItem(l)
00105          {
00106          }
00107 
00108          static std::string creatorName();
00109 
00110       protected:
00111          virtual QString value(const makVrv::DtStateView<DtVrfObjectDataState>&);
00112          virtual QString title(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00113       };
00114 
00115       typedef DtItemUpdateFunctionCreator<DtEntityStateEchelonId> DtEntityStateEchelonIdCreator;
00116 
00117       class DT_DLL_VRFGUIOBJECTINFORMATIONQT DtEntityStateGlobalId : public DtEntityStatePageItem
00118       {
00119       public:
00120          DtEntityStateGlobalId()
00121          : DtEntityStatePageItem()
00122          {
00123          }
00124 
00125          DtEntityStateGlobalId(DtInformationDialogPageLogic* l)
00126          : DtEntityStatePageItem(l)
00127          {
00128          }
00129 
00130          static std::string creatorName();
00131 
00132       protected:
00133          virtual QString value(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00134          virtual QString title(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00135       };
00136 
00137       typedef DtItemUpdateFunctionCreator<DtEntityStateGlobalId> DtEntityStateGlobalIdCreator;
00138 
00139       class DT_DLL_VRFGUIOBJECTINFORMATIONQT DtEntityStateForce : public DtEntityStatePageItem
00140       {
00141       public:
00142 
00143          DtEntityStateForce()
00144          : DtEntityStatePageItem()
00145          {
00146          }
00147 
00148          DtEntityStateForce(DtInformationDialogPageLogic* l);
00149 
00150          static std::string creatorName();
00151 
00152       protected:
00153          virtual QString value(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00154          virtual QString title(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00155       };
00156 
00157       typedef DtItemUpdateFunctionCreator<DtEntityStateForce> DtEntityStateForceCreator;
00158 
00159       class DT_DLL_VRFGUIOBJECTINFORMATIONQT DtEntityStateEntityType : public DtEntityStatePageItem
00160       {
00161       public:
00162 
00163          DtEntityStateEntityType()
00164          : DtEntityStatePageItem()
00165          {
00166          }
00167 
00168          DtEntityStateEntityType(DtInformationDialogPageLogic* l)
00169          : DtEntityStatePageItem(l)
00170          {
00171          }
00172 
00173          static std::string creatorName();
00174 
00175       protected:
00176          virtual QString value(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00177          virtual QString title(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00178       };
00179 
00180       typedef DtItemUpdateFunctionCreator<DtEntityStateEntityType> DtEntityStateEntityTypeCreator;
00181 
00182       class DT_DLL_VRFGUIOBJECTINFORMATIONQT DtEntityStateIndependentlyTasked : public DtEntityStateObjectDataItem
00183       {
00184       public:
00185          DtEntityStateIndependentlyTasked()
00186          : DtEntityStateObjectDataItem()
00187          {
00188          }
00189 
00190          DtEntityStateIndependentlyTasked(DtInformationDialogPageLogic* l)
00191          : DtEntityStateObjectDataItem(l)
00192          {
00193          }
00194 
00195          static std::string creatorName();
00196 
00197       protected:
00198          virtual QString value(const makVrv::DtStateView<DtVrfObjectDataState>&);
00199          virtual QString title(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00200       };
00201 
00202       typedef DtItemUpdateFunctionCreator<DtEntityStateIndependentlyTasked> DtEntityStateIndependentlyTaskedCreator;
00203 
00204       class DT_DLL_VRFGUIOBJECTINFORMATIONQT DtEntityStateUnderFire : public DtEntityStateObjectDataItem
00205       {
00206       public:
00207          DtEntityStateUnderFire()
00208          : DtEntityStateObjectDataItem()
00209          {
00210          }
00211 
00212          DtEntityStateUnderFire(DtInformationDialogPageLogic* l)
00213          : DtEntityStateObjectDataItem(l)
00214          {
00215          }
00216 
00217          static std::string creatorName();
00218 
00219       protected:
00220          virtual QString value(const makVrv::DtStateView<DtVrfObjectDataState>&);
00221          virtual QString title(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00222       };
00223 
00224       typedef DtItemUpdateFunctionCreator<DtEntityStateUnderFire> DtEntityStateUnderFireCreator;
00225 
00226       class DT_DLL_VRFGUIOBJECTINFORMATIONQT DtEntityStateHasPlan : public DtEntityStateObjectDataItem
00227       {
00228       public:
00229          DtEntityStateHasPlan()
00230          : DtEntityStateObjectDataItem()
00231          {
00232          }
00233 
00234          DtEntityStateHasPlan(DtInformationDialogPageLogic* l)
00235          : DtEntityStateObjectDataItem(l)
00236          {
00237          }
00238 
00239          static std::string creatorName();
00240 
00241       protected:
00242          virtual QString value(const makVrv::DtStateView<DtVrfObjectDataState>&);
00243          virtual QString title(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00244       };
00245 
00246       typedef DtItemUpdateFunctionCreator<DtEntityStateHasPlan> DtEntityStateHasPlanCreator;
00247 
00248       class DT_DLL_VRFGUIOBJECTINFORMATIONQT DtEntityStateRulesOfEngagement : public DtEntityStateObjectDataItem
00249       {
00250       public:
00251          DtEntityStateRulesOfEngagement()
00252          : DtEntityStateObjectDataItem()
00253          {
00254          }
00255 
00256          DtEntityStateRulesOfEngagement(DtInformationDialogPageLogic* l)
00257          : DtEntityStateObjectDataItem(l)
00258          {
00259          }
00260 
00261          static std::string creatorName();
00262 
00263       protected:
00264          virtual QString value(const makVrv::DtStateView<DtVrfObjectDataState>&);
00265          virtual QString title(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00266       };
00267 
00268       typedef DtItemUpdateFunctionCreator<DtEntityStateRulesOfEngagement> DtEntityStateRulesOfEngagementCreator;
00269 
00270       class DT_DLL_VRFGUIOBJECTINFORMATIONQT DtEntityBoundingVolume : 
00271          public DtEntityStateObjectDataItem
00272       {
00273       public:
00274          DtEntityBoundingVolume()
00275          : DtEntityStateObjectDataItem()
00276          {
00277          }
00278 
00279          DtEntityBoundingVolume(DtInformationDialogPageLogic* l)
00280          : DtEntityStateObjectDataItem(l)
00281          {
00282          }
00283 
00284          static std::string creatorName();
00285 
00286       protected:
00287          virtual QString value(const makVrv::DtStateView<DtVrfObjectDataState>&);
00288          virtual QString title(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00289       };
00290 
00291       typedef DtItemUpdateFunctionCreator<DtEntityBoundingVolume> DtEntityBoundingVolumeCreator;
00292 
00293       class DT_DLL_VRFGUIOBJECTINFORMATIONQT DtEntityBoundingVolumeOffset : 
00294          public DtEntityStateObjectDataItem
00295       {
00296       public:
00297          DtEntityBoundingVolumeOffset()
00298          : DtEntityStateObjectDataItem()
00299          {
00300          }
00301 
00302          DtEntityBoundingVolumeOffset(DtInformationDialogPageLogic* l)
00303          : DtEntityStateObjectDataItem(l)
00304          {
00305          }
00306 
00307          static std::string creatorName();
00308 
00309       protected:
00310          virtual QString value(const makVrv::DtStateView<DtVrfObjectDataState>&);
00311          virtual QString title(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00312       };
00313 
00314       typedef DtItemUpdateFunctionCreator<DtEntityBoundingVolumeOffset> DtEntityBoundingVolumeOffsetCreator;
00315 
00316       class DT_DLL_VRFGUIOBJECTINFORMATIONQT DtEntityStateGuise : public DtEntityStatePageItem
00317       {
00318       public:
00319          DtEntityStateGuise()
00320          : DtEntityStatePageItem()
00321          {
00322          }
00323 
00324          DtEntityStateGuise(DtInformationDialogPageLogic* l)
00325          : DtEntityStatePageItem(l)
00326          {
00327          }
00328 
00329          static std::string creatorName();
00330 
00331       protected:
00332          virtual QString value(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00333          virtual QString title(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00334       };
00335 
00336       typedef DtItemUpdateFunctionCreator<DtEntityStateGuise> DtEntityStateGuiseCreator;
00337 
00338       class DT_DLL_VRFGUIOBJECTINFORMATIONQT DtEntityStateDIGuyAppearance : public DtEntityStatePageItem
00339       {
00340       public:
00341          DtEntityStateDIGuyAppearance()
00342          : DtEntityStatePageItem()
00343          {
00344          }
00345 
00346          DtEntityStateDIGuyAppearance(DtInformationDialogPageLogic* l)
00347          : DtEntityStatePageItem(l)
00348          {
00349          }
00350 
00351          static std::string creatorName();
00352 
00353       protected:
00354          virtual QString value(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00355          virtual QString title(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00356       };
00357 
00358       typedef DtItemUpdateFunctionCreator<DtEntityStateDIGuyAppearance> DtEntityStateDIGuyAppearanceCreator;
00359 
00360       class DT_DLL_VRFGUIOBJECTINFORMATIONQT DtEntityStateDIGuyCharacter : public DtEntityStatePageItem
00361       {
00362       public:
00363          DtEntityStateDIGuyCharacter()
00364          : DtEntityStatePageItem()
00365          {
00366          }
00367 
00368          DtEntityStateDIGuyCharacter(DtInformationDialogPageLogic* l)
00369          : DtEntityStatePageItem(l)
00370          {
00371          }
00372 
00373          static std::string creatorName();
00374 
00375       protected:
00376          virtual QString value(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00377          virtual QString title(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00378       };
00379 
00380       typedef DtItemUpdateFunctionCreator<DtEntityStateDIGuyCharacter> DtEntityStateDIGuyCharacterCreator;
00381 
00382       class DT_DLL_VRFGUIOBJECTINFORMATIONQT DtEntityStateFrozen : public DtEntityStatePageItem
00383       {
00384       public:
00385 
00386          DtEntityStateFrozen()
00387          : DtEntityStatePageItem()
00388          {
00389          }
00390 
00391          DtEntityStateFrozen(DtInformationDialogPageLogic* l)
00392          : DtEntityStatePageItem(l)
00393          {
00394          }
00395 
00396          static std::string creatorName();
00397 
00398       protected:
00399          virtual QString value(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00400          virtual QString title(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00401       };
00402 
00403       typedef DtItemUpdateFunctionCreator<DtEntityStateFrozen> DtEntityStateFrozenCreator;
00404 
00405       class DT_DLL_VRFGUIOBJECTINFORMATIONQT DtEntityStateDRAlgorithm : public DtEntityStatePageItem
00406       {
00407       public:
00408 
00409          DtEntityStateDRAlgorithm()
00410          : DtEntityStatePageItem()
00411          {
00412          }
00413 
00414          DtEntityStateDRAlgorithm(DtInformationDialogPageLogic* l)
00415          : DtEntityStatePageItem(l)
00416          {
00417          }
00418 
00419          static std::string creatorName();
00420 
00421       protected:
00422          virtual QString value(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00423          virtual QString title(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>*);
00424       };
00425 
00426       typedef DtItemUpdateFunctionCreator<DtEntityStateDRAlgorithm> DtEntityStateDRAlgorithmCreator;
00427    }
00428 }

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)