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
vrfobjcore
organizationChangeSet.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
13
#include "
vrfobjcore/vrfobjcoreDefines.h
"
14
#include <
vrfutil/rwUUID.h
>
15
#include <vlutil/vlString.h>
16
#include <list>
17
21
class
DT_DLL_vrfobjcore
DtOrganizationChangeSet
22
{
23
public
:
24
struct
DtSetSubordinateInformation
25
{
26
DtRwUUID
subordinateName
;
27
DtRwUUID
superiorName
;
28
int
designator
;
29
};
30
31
struct
DtSetSubordinateToForceInformation
32
{
33
DtRwUUID
subordinateName
;
34
int
designator
;
35
};
36
37
typedef
std::list<DtSetSubordinateInformation>
DtSetSuperiorList
;
38
typedef
std::list<DtSetSubordinateToForceInformation>
DtSetSuperiorToForceList
;
39
40
DtOrganizationChangeSet
();
41
virtual
~
DtOrganizationChangeSet
();
42
DtOrganizationChangeSet
(
const
DtOrganizationChangeSet
& orig);
43
DtOrganizationChangeSet
& operator=(
const
DtOrganizationChangeSet
& orig);
44
50
virtual
void
addSetSuperior(
const
DtUUID
& subordinate,
51
const
DtUUID
& superior,
int
designator = 0);
52
59
virtual
void
addSetSuperiorToForce(
const
DtUUID
& subordinate,
60
int
designator = 0);
61
62
virtual
const
DtSetSuperiorList
& setSuperiorCommands()
const
;
63
virtual
const
DtSetSuperiorToForceList
& setSuperiorToForceCommands()
const
;
64
66
virtual
void
clear();
67
68
protected
:
72
virtual
void
removeItemsWithSubordiate(
const
DtUUID
& subordinate);
73
74
protected
:
76
DtSetSuperiorList
mySetSuperiorList
;
78
DtSetSuperiorToForceList
mySetSuperiorToForceList
;
79
};
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
)