VR-Forces Development_Version 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
#include <
vrfutil/rwUUID.h
>
18
19
#include <
vrvUtil/DtVirtualBaseClass.h
>
20
21
#include <
vrvCore/DtSimEntry.h
>
22
23
#include <vector>
24
25
namespace
makVrv
26
{
27
class
DtSimEntry;
28
class
DtDe;
29
class
DtSimObjectEntry;
30
}
31
32
class
DtVrfObjectMessage
;
33
34
namespace
makVrf
35
{
37
class
DT_DLL_VRFGUICORE
DtVrfFormationRequestor
:
public
makVrv::DtVirtualBaseClass
38
{
39
public
:
40
DtVrfFormationRequestor
(
makVrv::DtDe
&);
41
virtual
~
DtVrfFormationRequestor
();
42
44
static
DtVrfFormationRequestor
& instance(
makVrv::DtDe
& de);
45
46
virtual
void
updateAvailableFormations(
makVrv::DtSimEntry
* data);
47
48
std::vector<std::string> formationsFor(
const
DtUUID
&)
const
;
49
50
boost::signal<void (const DtUUID&)>
signal_formationsReceived
;
51
52
virtual
bool
hasFormationsFor(
makVrv::DtSimEntry
* data)
const
;
53
54
protected
:
55
56
virtual
void
processAvailableFormations(
const
DtVrfObjectMessage
* msg);
57
58
virtual
void
slot_onSimDataRemoved(
makVrv::DtSimObjectEntry
&);
59
60
protected
:
61
makVrv::DtDe
&
myDe
;
62
std::map<DtUUID, std::vector<std::string> >
myFormationTable
;
63
};
64
}
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)