VR-Forces 4.3 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
:
53
virtual
void
addSpotReportHandler(
const
std::string& s,
DtSpotReportVisualHandlerCreatorInterface
*);
54
55
virtual
void
removeSpotReportHandler(
const
std::string& s);
56
58
virtual
void
reset();
59
60
protected
:
61
virtual
DtSpotReportVisualHandler
* createSpotReportHandler(
const
std::string& s,
makVrv::DtUniqueID
)
const
;
62
65
virtual
void
slot_onStateViewAdded(
const
makVrv::DtStateView<DtSpotReportState>
&);
66
70
virtual
void
slot_stateViewAboutToBeRemoved(
const
makVrv::DtStateView<DtSpotReportState>
&);
71
73
virtual
void
slot_stateViewUpdated(
makVrv::DtStateView<DtSpotReportState>
*);
74
76
virtual
void
createSpotReportFor(
const
DtSpotReportState
&,
makVrv::DtUniqueID
);
77
80
virtual
void
tick();
81
82
protected
:
84
DtSpotReportVisualManager
(
makVrv::DtDe
& sim);
85
87
virtual
~
DtSpotReportVisualManager
();
88
89
protected
:
90
typedef
std::map<std::string, DtSpotReportVisualHandlerCreatorInterface*>
SpotReportHandlerCreators
;
91
typedef
std::map<makVrv::DtUniqueID, DtSpotReportVisualHandler*>
SpotReportHandlers
;
92
93
makVrv::DtDe
&
myDe
;
94
makVrv::DtSignalConnectionManager
myConnections
;
95
SpotReportHandlerCreators
mySpotReportHandlerCreators
;
96
SpotReportHandlers
mySpotReportHandlers
;
97
double
myLastSimTime
;
98
};
99
}
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)