VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
remoteSensorSpotReportReceiver.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 
10 #pragma once
11 
13 
15 
22 {
23 private:
25 
30 
31 public:
32 
36  DtVrfObject* owner,
37  DtSimManager* simManager,
38  DtComponentDescriptor* desc = 0,
39  DtReaderWriterRegistry* parentRegistry = 0);
40 
43 
44  virtual bool init();
45 
48  virtual const char* type() const;
49 
53  static DtSimComponent * creator(const DtString& name,
54  DtVrfObject* owner,
55  DtSimManager* simManager,
56  DtComponentDescriptor* desc = 0,
57  DtReaderWriterRegistry* parentRegistry = 0);
58 
59 
60 protected:
61 
63  virtual void initializeCallbacks(bool);
64 
70  virtual DtObjectSensorPSR* createPSR();
71 
73  virtual void processSimReportCollection(const DtVrfObjectMessage* msg);
74 
76  static void stopSpottingReportCallback(const DtVrfObjectMessage* msg, void* usr);
77 
79  virtual void processStopSpottingReport(const DtVrfObjectMessage* msg);
80 
84  virtual bool mergeSpotReportWithCurrentData(const DtSpotReport* spotReport);
85 
89  virtual void setContactSource(DtSpotReport& spotReport);
90 
94  virtual bool pruneOldReports();
95 
97  virtual void processSetRemoteSensor(DtSimMessage* msg);
98 
100  static void setRemoteSensorCallback(DtSimMessage* msg, void* usr);
101 
102 protected:
103 
107 
108 };
109 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)