VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
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::DtUniqueID
);
47
virtual
void
updateAvailableFormations(
const
DtUUID
&);
48
49
std::vector<std::string> formationsFor(
makVrv::DtUniqueID
)
const
;
50
std::vector<std::string> formationsFor(
const
DtUUID
&)
const
;
51
52
boost::signal<void (const DtUUID&)>
signal_formationsReceived
;
53
54
virtual
bool
hasFormationsFor(
makVrv::DtUniqueID
)
const
;
55
virtual
bool
hasFormationsFor(
const
DtUUID
&)
const
;
56
57
protected
:
58
59
virtual
void
processAvailableFormations(
const
DtVrfObjectMessage
* msg);
60
61
virtual
void
slot_onSimDataRemoved(
makVrv::DtSimObjectEntry
&);
62
63
protected
:
64
makVrv::DtDe
&
myDe
;
65
std::map<DtUUID, std::vector<std::string> >
myFormationTable
;
66
};
67
}
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)