VR-Forces 4.2 Class Documentation
DtSpotReportDataHandler.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtSpotReportDataHandler.h,v $ $Revision: 1.12 $ $State: Exp $
7 ******************************************************************************/
8 
17 
18 #pragma once
19 
20 #include <vrfGuiCore/vrfGuiCore.h>
22 
23 #include <vrvUtil/signalslib.h>
24 #include <vrvCore/DtUniqueID.h>
25 
26 namespace makVrv
27 {
28  class DtDe;
29 }
30 
31 namespace makVrf
32 {
33  class DtSpotReportHandler;
34  class DtSpotReportDataHandlerCreatorInterface;
35  class DtSpotReportStateObjectAgent;
36 
38  {
39  public:
40  DtSpotReportDataHandler(makVrv::DtDe&, makVrv::DtUniqueID);
41  virtual ~DtSpotReportDataHandler();
42 
46  virtual void update(void*) = 0;
47 
49  virtual bool objectEntryRemoved(makVrv::DtUniqueID) = 0;
50 
51  virtual std::vector<makVrv::DtUniqueID> observedBy() const = 0;
52 
53  virtual void updateState(DtSpotReportState&);
54 
55  makVrv::DtUniqueID uniqueId() const
56  {
57  return myUniqueID;
58  }
59 
60  protected:
61  makVrv::DtUniqueID myUniqueID;
62  makVrv::DtDe& myDe;
63  DtSpotReportStateObjectAgent* myAgent;
64  };
65 
67  {
68  public:
70 
71  virtual DtSpotReportDataHandler* create(makVrv::DtDe&, makVrv::DtUniqueID) = 0;
72  };
73 }

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)