VR-Forces 4.3.1 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
17
#include <boost/function.hpp>
18
19
namespace
makVrf
20
{
21
class
DT_DLL_VRFGUICORE
DtVrfSpotReportDataHandler
:
public
DtSpotReportDataHandler
22
{
23
public
:
24
DtVrfSpotReportDataHandler
(
makVrv::DtDe
&,
makVrv::DtUniqueID
);
25
virtual
~
DtVrfSpotReportDataHandler
();
26
30
virtual
void
update(
void
*);
31
virtual
bool
objectEntryRemoved(
makVrv::DtUniqueID
);
32
33
static
std::string handlerType();
34
35
virtual
const
std::set<makVrv::DtUniqueID>& observedBy()
const
;
36
39
virtual
void
slot_stateViewUpdated(
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
* s);
40
42
virtual
void
updateReport(
const
DtSpotReport
&);
43
45
virtual
bool
flushData(
bool
force =
false
);
46
47
protected
:
48
virtual
void
slot_stateAdded(
const
makVrv::DtStateView<makVrv::DtVrlinkSimulatedBaseState>
*);
49
50
protected
:
51
DtSpotReport
myPendingReport
;
52
double
mySimTimeToReportAt
;
53
bool
myNeedsReportTimeReset
;
54
bool
myNeedsUpdateOnNextPass
;
55
bool
myPendingGroundTruth
;
56
bool
myHasBeenUpdated
;
57
58
DtSpotReportState
mySpotState
;
59
makVrv::DtUniqueID
myContactId
;
60
};
61
62
class
DT_DLL_VRFGUICORE
DtVrfSpotReportDataHandlerCreator
:
public
DtSpotReportDataHandlerCreatorInterface
63
{
64
public
:
65
virtual
~
DtVrfSpotReportDataHandlerCreator
();
66
67
virtual
DtSpotReportDataHandler
* create(
makVrv::DtDe
&,
makVrv::DtUniqueID
);
68
};
69
}
Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)