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
vrfGuiCore
vrfSpotReportDataHandler.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
10
11
#pragma once
12
13
#include <
vrfGuiCore/vrfGuiCore.h
>
14
#include <
vrfGuiCore/spotReportDataHandler.h
>
15
#include <
vrftasks/spotReport.h
>
16
#include <
vrfutil/rwUUID.h
>
17
#include <
vrvUtil/DtSignalConnectionManager.h
>
18
19
#include <boost/function.hpp>
20
21
namespace
makVrf
22
{
23
class
DtVrfSpotReportsSettingsRecord;
24
25
class
DT_DLL_VRFGUICORE
DtVrfSpotReportDataHandler
:
public
DtSpotReportDataHandler
26
{
27
public
:
28
DtVrfSpotReportDataHandler
(
makVrv::DtDe
&,
makVrv::DtUniqueID
);
29
virtual
~
DtVrfSpotReportDataHandler
();
30
34
virtual
bool
update(
void
*);
35
virtual
bool
objectEntryRemoved(
makVrv::DtUniqueID
,
makVrv::DtSimState
*);
36
37
static
std::string handlerType();
38
39
virtual
const
std::set<makVrv::DtUniqueID>& observedBy()
const
;
40
43
virtual
void
slot_stateViewUpdated(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
* s);
44
46
virtual
bool
updateReport(
const
DtSpotReport
&);
47
49
virtual
bool
flushData(
bool
force =
false
);
50
virtual
void
idleTick();
51
52
protected
:
53
virtual
void
slot_stateAdded(
const
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
54
virtual
void
updateLastSpotterName();
55
57
virtual
void
slot_spotReportOptionsChanged(
const
DtVrfSpotReportsSettingsRecord
&,
bool
calledFromOptionsChanged =
false
);
58
59
protected
:
60
DtSpotReport
myPendingReport
;
61
double
mySimTimeToReportAt
;
62
bool
myNeedsReportTimeReset
;
63
bool
myNeedsUpdateOnNextPass
;
64
bool
myPendingGroundTruth
;
65
bool
myHasBeenUpdated
;
66
67
DtSpotReportState
mySpotState
;
68
makVrv::DtUniqueID
myContactId
;
69
DtUUID
myUUIDMarkingTextResolve
;
70
makVrv::DtSignalConnectionManager
myConnections
;
71
};
72
73
class
DT_DLL_VRFGUICORE
DtVrfSpotReportDataHandlerCreator
:
public
DtSpotReportDataHandlerCreatorInterface
74
{
75
public
:
76
virtual
~
DtVrfSpotReportDataHandlerCreator
();
77
78
virtual
DtSpotReportDataHandler
* create(
makVrv::DtDe
&,
makVrv::DtUniqueID
);
79
};
80
}
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
)