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
spotReportVisualManager.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
19
20
#pragma once
21
22
#include <
vrfGuiCore/vrfGuiCore.h
>
23
#include <
vrfGuiCore/vrfStateViewCollectionManager.h
>
24
#include <
vrfGuiCore/spotReportState.h
>
25
26
#include <
vrvUtil/signalslib.h
>
27
#include <
vrvCore/DtUniqueID.h
>
28
#include <
vrvUtil/DtVirtualBaseClass.h
>
29
#include <
vrvUtil/DtSignalConnectionManager.h
>
30
31
#include <boost/bind.hpp>
32
33
namespace
makVrv
34
{
35
class
DtDe;
36
}
37
38
namespace
makVrf
39
{
40
class
DtSpotReportVisualHandler;
41
class
DtSpotReportVisualHandlerCreatorInterface;
42
43
class
DT_DLL_VRFGUICORE
DtSpotReportVisualManager
:
public
makVrv::DtVirtualBaseClass
44
{
45
public
:
46
48
static
DtSpotReportVisualManager
& instance(
makVrv::DtDe
& de);
49
50
public
:
51
typedef
std::map<makVrv::DtUniqueID, DtSpotReportVisualHandler*>
SpotReportHandlers
;
52
55
virtual
void
addSpotReportHandler(
const
std::string& s,
DtSpotReportVisualHandlerCreatorInterface
*);
56
57
virtual
void
removeSpotReportHandler(
const
std::string& s);
58
60
virtual
void
reset();
61
63
const
SpotReportHandlers
&
spotReportVisualHandlers
() {
return
mySpotReportHandlers; };
64
65
protected
:
66
virtual
DtSpotReportVisualHandler
* createSpotReportHandler(
const
std::string& s,
makVrv::DtUniqueID
)
const
;
67
70
virtual
void
slot_onStateViewAdded(
const
makVrv::DtStateView<DtSpotReportState>
&);
71
75
virtual
void
slot_stateViewAboutToBeRemoved(
const
makVrv::DtStateView<DtSpotReportState>
&);
76
78
virtual
void
slot_stateViewUpdated(
makVrv::DtStateView<DtSpotReportState>
*);
79
81
virtual
void
createSpotReportFor(
const
DtSpotReportState
&,
makVrv::DtUniqueID
);
82
85
virtual
void
tick();
86
87
protected
:
89
DtSpotReportVisualManager
(
makVrv::DtDe
& sim);
90
92
virtual
~
DtSpotReportVisualManager
();
93
94
protected
:
95
typedef
std::map<std::string, DtSpotReportVisualHandlerCreatorInterface*>
SpotReportHandlerCreators
;
96
97
makVrv::DtDe
&
myDe
;
98
makVrv::DtSignalConnectionManager
myConnections
;
99
SpotReportHandlerCreators
mySpotReportHandlerCreators
;
100
SpotReportHandlers
mySpotReportHandlers
;
101
double
myLastSimTime
;
102
};
103
}
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
)