VR-Forces 4.1.1 Class Documentation
DtSpotReportDataProcessor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtSpotReportDataProcessor.h,v $ $Revision: 1.12 $ $State: Exp $
7 ******************************************************************************/
8 
26 
29 
30 #pragma once
31 
32 #include <vrfGuiCore/vrfGuiCore.h>
33 
34 #include <vrvUtil/signalslib.h>
35 #include <vrvCore/DtUniqueID.h>
40 
41 #include <boost/bind.hpp>
42 
43 namespace makVrv
44 {
45  class DtDe;
46  class DtSimEntryObjectAgent;
47  class DtSimObjectEntry;
48 }
49 
50 namespace makVrf
51 {
52  class DtSpotReportDataHandler;
53  class DtSpotReportDataHandlerCreatorInterface;
54 
56  {
57  public:
58 
60  static DtSpotReportDataProcessor& instance(makVrv::DtDe& de);
61 
63  void forceObjectUpdate(makVrv::DtUniqueID uniqueId);
64 
65  public:
68  virtual void addSpotReportHandler(const std::string& s, DtSpotReportDataHandlerCreatorInterface*);
69 
70  virtual void removeSpotReportHandler(const std::string& s);
71 
76  virtual std::string addOrUpdateSpotReport(const std::string& type, void* data, const std::string& key = "");
77 
79  virtual void removeSpotReport(makVrv::DtUniqueID id);
80 
82  virtual void removeAllSpotReports();
83 
84  protected:
85  virtual DtSpotReportDataHandler* createSpotReportHandler(const std::string& s, makVrv::DtUniqueID) const;
86 
89  virtual std::string createSpotReport(const std::string& type, void* data, const std::string& key = "");
90 
91  protected:
93  virtual void processForceUpdateList();
94 
97  virtual void slot_simObjectEntryAboutToBeRemoved(makVrv::DtSimObjectEntry& entry);
98 
99  protected:
102 
104  virtual ~DtSpotReportDataProcessor();
105 
106  protected:
107  typedef std::vector<makVrv::DtUniqueID> SpotReportIdList;
108  typedef std::map<std::string, DtSpotReportDataHandlerCreatorInterface*> SpotReportHandlerCreators;
109  typedef std::map<std::string, DtSpotReportDataHandler*> SpotReportHandlers;
110  typedef std::map<makVrv::DtUniqueID, DtSpotReportDataHandler*> SpotReportHandlersById;
111 
113  makVrv::DtSimEntryObjectAgent* mySimEntryAgent;
119 
122  };
123 }

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)