VR-Forces 4.5 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
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
18
#include <boost/function.hpp>
19
20
namespace
makVrf
21
{
22
class
DT_DLL_VRFGUICORE
DtVrfSpotReportDataHandler
:
public
DtSpotReportDataHandler
23
{
24
public
:
25
DtVrfSpotReportDataHandler
(
makVrv::DtDe
&,
makVrv::DtUniqueID
);
26
virtual
~
DtVrfSpotReportDataHandler
();
27
31
virtual
bool
update(
void
*);
32
virtual
bool
objectEntryRemoved(
makVrv::DtUniqueID
);
33
34
static
std::string handlerType();
35
36
virtual
const
std::set<makVrv::DtUniqueID>& observedBy()
const
;
37
40
virtual
void
slot_stateViewUpdated(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
* s);
41
43
virtual
bool
updateReport(
const
DtSpotReport
&);
44
46
virtual
bool
flushData(
bool
force =
false
);
47
virtual
void
idleTick();
48
49
protected
:
50
virtual
void
slot_stateAdded(
const
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
51
52
protected
:
53
DtSpotReport
myPendingReport
;
54
double
mySimTimeToReportAt
;
55
bool
myNeedsReportTimeReset
;
56
bool
myNeedsUpdateOnNextPass
;
57
bool
myPendingGroundTruth
;
58
bool
myHasBeenUpdated
;
59
60
DtSpotReportState
mySpotState
;
61
makVrv::DtUniqueID
myContactId
;
62
DtUUID
myUUIDMarkingTextResolve
;
63
};
64
65
class
DT_DLL_VRFGUICORE
DtVrfSpotReportDataHandlerCreator
:
public
DtSpotReportDataHandlerCreatorInterface
66
{
67
public
:
68
virtual
~
DtVrfSpotReportDataHandlerCreator
();
69
70
virtual
DtSpotReportDataHandler
* create(
makVrv::DtDe
&,
makVrv::DtUniqueID
);
71
};
72
}
Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (
www.mak.com
)