VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
ioCommunicationsNodeRecord.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 2013 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
#pragma once
7
12
13
#include <
vl/communicationsNodeIdRecord.h
>
14
#include <
vl/standardVariableRecord.h
>
15
#include <
vl/packets/ioCommunicationsNodeRecordP.h
>
16
17
#include "
vlutil/vlMachineTypes.h
"
18
19
class
DT_DLL_VL
DtIoCommunicationsNodeRecord
:
public
DtStandardVariableRecord
20
{
21
public
:
23
DtIoCommunicationsNodeRecord
();
24
26
DtIoCommunicationsNodeRecord
(
DtCommsNodeType
communicationsNodeType,
27
const
DtCommunicationsNodeIdRecord
& communicationsNodeId );
28
30
DtIoCommunicationsNodeRecord
(
const
DtIoCommunicationsNodeRecord
& orig);
31
33
DtIoCommunicationsNodeRecord
(
void
* ptr,
unsigned
int
length);
34
36
virtual
DtIoCommunicationsNodeRecord
& operator=(
const
DtIoCommunicationsNodeRecord
& other);
37
39
virtual
DtStandardVariableRecord
& operator=(
const
DtStandardVariableRecord
& record);
40
42
virtual
bool
operator==
(
const
DtIoCommunicationsNodeRecord
& other);
43
45
virtual
bool
operator==
(
const
DtStandardVariableRecord
& other);
46
48
virtual
unsigned
int
recordType
()
const
;
49
virtual
void
setRecordType
(
unsigned
int
recordType );
50
52
virtual
unsigned
int
recordLength
()
const
;
53
virtual
void
setRecordLength
(
unsigned
int
recordLength );
54
56
virtual
DtCommsNodeType
communicationsNodeType()
const
;
57
virtual
void
setCommunicationsNodeType(
DtCommsNodeType
communicationsNodeType );
58
60
virtual
const
DtCommunicationsNodeIdRecord
& communicationsNodeId()
const
;
61
virtual
void
setCommunicationsNodeId(
const
DtCommunicationsNodeIdRecord
& communicationsNodeId );
62
64
virtual
void
printDataToStream
(std::ostream& stream)
const
;
65
68
virtual
void
writeRecord
(
void
* addr)
const
;
69
71
virtual
void
setFromNet
(
const
void
* netRecord,
unsigned
int
length,
DtStandardVariableRetCode
* retCode = NULL);
72
74
static
DtStandardVariableRecord
* create(
void
* addr,
unsigned
int
length);
75
77
virtual
unsigned
int
unpaddedNetsize
()
const
;
78
81
virtual
unsigned
int
netSize
()
const
;
82
84
virtual
DtStandardVariableRecord
*
clone
()
const
;
85
86
protected
:
87
88
DtCommunicationsNodeIdRecord
myCommunicationsNodeIdRecord
;
89
90
DtNetIoCommunicationsNodeRecord
myIoCommunicationsNodeRecord
;
91
};
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
)