VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
separationVPRecord.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
8
9
#pragma once
10
11
#include <
vl/vpRecord.h
>
12
#include <
vlutil/vlMachineTypes.h
>
13
14
#include <
vlpi/entityIdentifier.h
>
15
#include <
vlpi/disEnums.h
>
16
17
22
class
DT_DLL_VL
DtSeparationVPRecord
:
public
DtVPRecord
23
{
24
public
:
27
DtSeparationVPRecord
();
28
30
virtual
~
DtSeparationVPRecord
();
31
33
DtSeparationVPRecord
(
const
DtSeparationVPRecord
& orig);
34
36
DtSeparationVPRecord
& operator=(
const
DtSeparationVPRecord
& orig);
37
39
virtual
DtVPRecordKind
vpType
()
const
{
return
DtSeparationRecordKind
;};
40
42
static
DtVPRecord
*
create
() {
return
new
DtSeparationVPRecord
;};
43
45
virtual
DtVPRecord
*
clone
() {
return
new
DtSeparationVPRecord
(*
this
);};
46
48
virtual
void
decodeFromNet
(
DtNetVPRecord
*);
49
51
virtual
void
encodeToNet
(
DtNetVPRecord
*)
const
;
52
54
55
virtual
bool
operator==
(
const
DtVPRecord
& other)
const
;
56
58
60
virtual
void
printDataToStream
(std::ostream& stream)
const
;
61
63
64
65
virtual
DtSeparationReason
separationReason()
const
;
66
virtual
void
setSeparationReason(
DtSeparationReason
data);
67
68
virtual
DtPreEntityIndicator
preEntityIndicator()
const
;
69
virtual
void
setPreEntityIndicator(
DtPreEntityIndicator
data);
70
71
virtual
const
DtEntityIdentifier
& parentEntityIdentifier()
const
;
72
virtual
void
setParentEntityIdentifier(
const
DtEntityIdentifier
& data);
73
74
virtual
DtStationName
stationName()
const
;
75
virtual
void
setStationName(
DtStationName
data);
76
77
virtual
unsigned
int
stationNumber()
const
;
78
virtual
void
setStationNumber(
unsigned
int
data);
79
81
82
protected
:
83
DtSeparationReason
mySeparationReason
;
// [UID 282]
84
DtPreEntityIndicator
myPreEntityIndicator
;
// [UID 283]
85
DtEntityIdentifier
myParentEntityId
;
86
DtStationName
myStationLocation
;
87
unsigned
int
myStationNumber
;
88
};
89
90
91
92
Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)