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
vrfFormationRequestor.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/aggregateState.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 Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)