VR-Forces 4.7 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 DtVrfObjectListViewItem;
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 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)