VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 
13 #include <vrfutil/rwProperties.h>
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 updateEquipment(DtAggregateEquipmentTab* tab,
40  const DtRwProperties& stateProperties,
41  const DtString& propertyName, std::set<QString>&);
42 
44  virtual void updatePersonnel(DtAggregatePersonnelTab* tab,
45  const DtRwProperties& stateProperties);
46 
48  virtual void addCasualtyType(QStandardItemModel* model,
49  const QString& type);
50 
52  virtual void updateCasualtyType(QStandardItemModel* model,
53  const QString& type, int amount);
54 
55  protected:
56  std::set<QString> myEquipment;
57  std::set<QString> myWeapons;
58  };
59  }
60 }

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)