VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aggregateEquipmentAndPersonnelPageLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #pragma once
10 
14 #include <QStandardItemModel>
15 
16 namespace makVrf
17 {
18  class DtObjectListViewItem;
19  struct DtVrlinkSimulatedAggregateState;
20 
21  namespace makVrfGuiObjectInformationQt
22  {
23  class DtAggregateEquipmentTab;
24  class DtAggregatePersonnelTab;
25 
27  {
28  public:
30 
32 
33  protected:
34  virtual void slot_onStateViewUpdated(makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>* s);
35 
36  protected:
37 
39  virtual void updateSingleEquipment(DtAggregateEquipmentTab* tab,
40  const DtRwProperties& stateProperties,
41  const DtString& propertyName, std::set<QString>&);
42 
44  virtual void updateEquipment(DtAggregateEquipmentTab* tab,
45  const DtRwProperties& stateProperties,
46  const DtString& propertyName, std::set<QString>&);
47 
49  virtual void updatePersonnel(DtAggregatePersonnelTab* tab,
50  const DtRwProperties& stateProperties);
51 
53  virtual void addCasualtyType(QStandardItemModel* model,
54  const QString& type);
55 
57  virtual void updateCasualtyType(QStandardItemModel* model,
58  const QString& type, int amount);
59 
60  protected:
61  std::set<QString> myEquipment;
62  std::set<QString> myWeapons;
63  };
64  }
65 }
Definition: aggregateEquipmentAndPersonnelPageLogic.h:26
#define DT_DLL_VRFGUIOBJECTINFORMATIONQT
Contains DLL export macros.
Definition: vrfGuiObjectInformationQt.h:25
std::set< QString > myWeapons
Definition: aggregateEquipmentAndPersonnelPageLogic.h:62
A list of properties.
Definition: rwProperties.h:126
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
std::set< QString > myEquipment
Definition: aggregateEquipmentAndPersonnelPageLogic.h:61
Definition: aggregateEquipmentAndPersonnelPage.h:69
This is a general class which will update QStandardItemModels to display resource data in a standard ...
Definition: aggregateResourcesPageLogic.h:26
Definition: aggregateEquipmentAndPersonnelPage.h:22

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)