VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfmsgs
ifAddToOrg.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2003 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: ifAddToOrg.h,v $ $Revision: 1.11 $ $State: Exp $
7
*******************************************************************************/
8
11
12
#ifndef DtIfAddToOrganization_H_
13
#define DtIfAddToOrganization_H_
14
15
#include <
vrfExtProtocol/ifaceCont.h
>
16
#include <vlutil/vlString.h>
17
#include <vl/hostStructs.h>
18
#include <vlpi/NetStructs.h>
19
20
23
struct
DtNetIfAddToOrganization
24
{
25
DtNetEntityIdentifier
myObjectIdentifier
;
26
DtNetEntityIdentifier
myNewSuperiorId
;
27
DtNetInt8
myDesignator
;
28
DtNetBoolean
mySuperiorIsForce
;
29
};
30
38
#include "
vrfmsgs/vrfmsgsDefines.h
"
39
class
DT_DLL_vrfmsgs
DtIfAddToOrganization
:
public
DtSimInterfaceContent
40
{
41
public
:
42
44
DtIfAddToOrganization
();
45
47
virtual
~
DtIfAddToOrganization
();
48
50
DtIfAddToOrganization
(
const
DtIfAddToOrganization
& orig);
51
53
DtIfAddToOrganization
&
operator=
(
const
DtIfAddToOrganization
& orig);
54
57
virtual
int
type
()
const
;
58
62
virtual
void
setObjectIdentifier(
const
DtEntityIdentifier & objectIdentifier);
63
virtual
const
DtEntityIdentifier & objectIdentifier()
const
;
64
67
virtual
void
setNewSuperiorId(
const
DtEntityIdentifier & superiorId);
68
virtual
const
DtEntityIdentifier & newSuperiorId()
const
;
69
76
virtual
void
setSuperiorIsForce(
bool
isForce);
77
virtual
bool
superiorIsForce()
const
;
78
80
virtual
void
setDesignator(
DtInt8
pos);
81
virtual
DtInt8
designator()
const
;
82
83
virtual
int
netRepSize
()
const
;
84
virtual
bool
setFromNet
(
const
char
* contentBuffer,
85
unsigned
contentSize);
86
virtual
bool
setToNet
();
87
88
virtual
void
printDataToString
(
DtString
& str);
89
90
DtSimInterfaceContent
*
clone
()
const
;
91
92
static
DtSimInterfaceContent
* creator();
93
94
protected
:
95
96
DtEntityIdentifier
myObjectIdentifier
;
97
DtEntityIdentifier
myNewSuperiorId
;
98
DtInt8
myDesignator
;
99
bool
mySuperiorIsForce
;
100
};
101
102
#endif
103
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)