VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vrfFormationRequestor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
11 
12 #pragma once
13 
14 #include <vrvUtil/signalslib.h>
15 #include <vrfGuiCore/vrfGuiCore.h>
17 #include <vrfutil/rwUUID.h>
18 
20 
21 #include <vrvCore/DtSimEntry.h>
22 
23 #include <vector>
24 
25 namespace makVrv
26 {
27  class DtSimEntry;
28  class DtDe;
29  class DtSimObjectEntry;
30 }
31 
32 class DtVrfObjectMessage;
33 
34 namespace makVrf
35 {
38  {
39  public:
41  virtual ~DtVrfFormationRequestor();
42 
44  static DtVrfFormationRequestor& instance(makVrv::DtDe& de);
45 
46  virtual void updateAvailableFormations(makVrv::DtSimEntry* data);
47 
48  std::vector<std::string> formationsFor(const DtUUID&) const;
49 
50  boost::signal<void (const DtUUID&)> signal_formationsReceived;
51 
52  virtual bool hasFormationsFor(makVrv::DtSimEntry* data) const;
53 
54  protected:
55 
56  virtual void processAvailableFormations(const DtVrfObjectMessage* msg);
57 
58  virtual void slot_onSimDataRemoved(makVrv::DtSimObjectEntry&);
59 
60  protected:
62  std::map<DtUUID, std::vector<std::string> > myFormationTable;
63  };
64 }

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)