VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCore
DtVrfFormationRequestor.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
8
11
12
#pragma once
13
14
#include <
vrvUtil/signalslib.h
>
15
#include <
vrfGuiCore/vrfGuiCore.h
>
16
#include <
vrfGuiCore/DtAggregateState.h
>
17
18
#include <
vrvUtil/DtVirtualBaseClass.h
>
19
20
#include <
vrvCore/DtSimEntry.h
>
21
22
#include <vector>
23
24
namespace
makVrv
25
{
26
class
DtSimEntry;
27
class
DtDe;
28
class
DtSimObjectEntry;
29
}
30
31
class
DtVrfObjectMessage
;
32
33
namespace
makVrf
34
{
36
class
DT_DLL_VRFGUICORE
DtVrfFormationRequestor
:
public
makVrv::DtVirtualBaseClass
37
{
38
public
:
39
DtVrfFormationRequestor
(
makVrv::DtDe
&);
40
virtual
~
DtVrfFormationRequestor
();
41
43
static
DtVrfFormationRequestor
& instance(
makVrv::DtDe
& de);
44
45
virtual
void
updateAvailableFormations(
makVrv::DtSimEntry
* data);
46
47
std::vector<std::string> formationsFor(
const
std::string&)
const
;
48
49
boost::signal<void (const std::string&)>
signal_formationsReceived
;
50
51
virtual
bool
hasFormationsFor(
makVrv::DtSimEntry
* data)
const
;
52
53
protected
:
54
55
virtual
void
processAvailableFormations(
const
DtVrfObjectMessage
* msg);
56
57
virtual
void
slot_onSimDataRemoved(
makVrv::DtSimObjectEntry
&);
58
59
protected
:
60
makVrv::DtDe
&
myDe
;
61
std::map<std::string, std::vector<std::string> >
myFormationTable
;
62
};
63
}
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
)