VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
spotReportVisualManager.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
19 
20 #pragma once
21 
22 #include <vrfGuiCore/vrfGuiCore.h>
25 
26 #include <vrvUtil/signalslib.h>
27 #include <vrvCore/DtUniqueID.h>
30 
31 #include <boost/bind.hpp>
32 
33 namespace makVrv
34 {
35  class DtDe;
36 }
37 
38 namespace makVrf
39 {
40  class DtSpotReportVisualHandler;
41  class DtSpotReportVisualHandlerCreatorInterface;
42 
44  {
45  public:
46 
48  static DtSpotReportVisualManager& instance(makVrv::DtDe& de);
49 
50  public:
51  typedef std::map<makVrv::DtUniqueID, DtSpotReportVisualHandler*> SpotReportHandlers;
52 
55  virtual void addSpotReportHandler(const std::string& s, DtSpotReportVisualHandlerCreatorInterface*);
56 
57  virtual void removeSpotReportHandler(const std::string& s);
58 
60  virtual void reset();
61 
63  const SpotReportHandlers& spotReportVisualHandlers() { return mySpotReportHandlers; };
64 
65  protected:
66  virtual DtSpotReportVisualHandler* createSpotReportHandler(const std::string& s, makVrv::DtUniqueID) const;
67 
70  virtual void slot_onStateViewAdded(const makVrv::DtStateView<DtSpotReportState>&);
71 
75  virtual void slot_stateViewAboutToBeRemoved(const makVrv::DtStateView<DtSpotReportState>&);
76 
78  virtual void slot_stateViewUpdated(makVrv::DtStateView<DtSpotReportState>*);
79 
81  virtual void createSpotReportFor(const DtSpotReportState&, makVrv::DtUniqueID);
82 
85  virtual void tick();
86 
87  protected:
90 
92  virtual ~DtSpotReportVisualManager();
93 
94  protected:
95  typedef std::map<std::string, DtSpotReportVisualHandlerCreatorInterface*> SpotReportHandlerCreators;
96 
102  };
103 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)