VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjcore
organizationChangeSet.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: organizationChangeSet.h,v $ $Revision: 1.3 $ $State: Exp $
7
*******************************************************************************/
8
11
13
14
#ifndef organizationChangeSet_h
15
#define organizationChangeSet_h
16
17
#include "
vrfobjcore/vrfobjcoreDefines.h
"
18
#include <vlutil/vlString.h>
19
#include <list>
20
24
class
DT_DLL_vrfobjcore
DtOrganizationChangeSet
25
{
26
public
:
27
struct
DtSetSubordinateInformation
28
{
29
DtString
subordinateName
;
30
DtString
superiorName
;
31
int
designator
;
32
};
33
34
struct
DtSetSubordinateToForceInformation
35
{
36
DtString
subordinateName
;
37
int
designator
;
38
};
39
40
typedef
std::list<DtSetSubordinateInformation>
DtSetSuperiorList
;
41
typedef
std::list<DtSetSubordinateToForceInformation>
DtSetSuperiorToForceList
;
42
43
DtOrganizationChangeSet
();
44
virtual
~
DtOrganizationChangeSet
();
45
DtOrganizationChangeSet
(
const
DtOrganizationChangeSet
& orig);
46
DtOrganizationChangeSet
& operator=(
const
DtOrganizationChangeSet
& orig);
47
53
virtual
void
addSetSuperior(
const
DtString
& subordinateName,
54
const
DtString
& superiorName,
int
designator = 0);
55
62
virtual
void
addSetSuperiorToForce(
const
DtString
& subordinateName,
63
int
designator = 0);
64
65
virtual
const
DtSetSuperiorList
& setSuperiorCommands()
const
;
66
virtual
const
DtSetSuperiorToForceList
& setSuperiorToForceCommands()
const
;
67
69
virtual
void
clear();
70
71
protected
:
75
virtual
void
removeItemsWithSubordiate(
const
DtString
& subordinateName);
76
77
protected
:
79
DtSetSuperiorList
mySetSuperiorList
;
81
DtSetSuperiorToForceList
mySetSuperiorToForceList
;
82
};
83
84
#endif
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
)