VR-Forces 4.3 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
vrfmsgs
ifAddToOrganization.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/simInterfaceContent.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 Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)