VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfmodel
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
12
#include <
vrfmodel/spotReportReceiver.h
>
13
14
class
DtRemoteSensorSpotReportReceiverPSR
;
15
21
class
DT_DLL_vrfmodel
DtRemoteSensorSpotReportReceiver
:
public
DtSpotReportReceiver
22
{
23
private
:
25
26
DtRemoteSensorSpotReportReceiver
();
27
DtRemoteSensorSpotReportReceiver
(
const
DtRemoteSensorSpotReportReceiver
&orig);
28
const
DtRemoteSensorSpotReportReceiver
&
operator=
(
const
DtRemoteSensorSpotReportReceiver
& orig);
30
31
public
:
32
35
DtRemoteSensorSpotReportReceiver
(
const
DtString
& name,
36
DtVrfObject
* owner,
37
DtSimManager
* simManager,
38
DtComponentDescriptor
* desc = 0,
39
DtReaderWriterRegistry
* parentRegistry = 0);
40
42
virtual
~
DtRemoteSensorSpotReportReceiver
();
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
106
DtRemoteSensorSpotReportReceiverPSR
*
myRemoteSensorSpotReportRcvrProcessState
;
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
)