VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCore
DtSpotReportVisualManager.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2011 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
19
20
#pragma once
21
22
#include <
vrfGuiCore/vrfGuiCore.h
>
23
#include <
vrfGuiCore/DtVrfStateViewCollectionManager.h
>
24
#include <
vrfGuiCore/DtSpotReportState.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
57
protected
:
58
virtual
DtSpotReportVisualHandler
* createSpotReportHandler(
const
std::string& s,
makVrv::DtUniqueID
)
const
;
59
62
virtual
void
slot_onStateViewAdded(
const
makVrv::DtStateView<DtSpotReportState>
&);
63
67
virtual
void
slot_stateViewAboutToBeRemoved(
const
makVrv::DtStateView<DtSpotReportState>
&);
68
70
virtual
void
slot_stateViewUpdated(
makVrv::DtStateView<DtSpotReportState>
*);
71
73
virtual
void
createSpotReportFor(
const
DtSpotReportState
&,
makVrv::DtUniqueID
);
74
75
protected
:
77
DtSpotReportVisualManager
(
makVrv::DtDe
& sim);
78
80
virtual
~
DtSpotReportVisualManager
();
81
82
protected
:
83
typedef
std::map<std::string, DtSpotReportVisualHandlerCreatorInterface*>
SpotReportHandlerCreators
;
84
typedef
std::map<makVrv::DtUniqueID, DtSpotReportVisualHandler*>
SpotReportHandlers
;
85
86
makVrv::DtDe
&
myDe
;
87
makVrv::DtSignalConnectionManager
myConnections
;
88
SpotReportHandlerCreators
mySpotReportHandlerCreators
;
89
SpotReportHandlers
mySpotReportHandlers
;
90
};
91
}
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)