VR-Forces 4.3 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 
19 
20 #include <vrvCore/DtSimEntry.h>
21 
22 #include <vector>
23 
24 namespace makVrv
25 {
26  class DtSimEntry;
27  class DtDe;
28  class DtSimObjectEntry;
29 }
30 
31 class DtVrfObjectMessage;
32 
33 namespace makVrf
34 {
37  {
38  public:
40  virtual ~DtVrfFormationRequestor();
41 
43  static DtVrfFormationRequestor& instance(makVrv::DtDe& de);
44 
45  virtual void updateAvailableFormations(makVrv::DtSimEntry* data);
46 
47  std::vector<std::string> formationsFor(const std::string&) const;
48 
49  boost::signal<void (const std::string&)> signal_formationsReceived;
50 
51  virtual bool hasFormationsFor(makVrv::DtSimEntry* data) const;
52 
53  protected:
54 
55  virtual void processAvailableFormations(const DtVrfObjectMessage* msg);
56 
57  virtual void slot_onSimDataRemoved(makVrv::DtSimObjectEntry&);
58 
59  protected:
61  std::map<std::string, std::vector<std::string> > myFormationTable;
62  };
63 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)