MAK RTIspy API Documentation for HLA 1.3
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
libsrc
RTI
attrVal.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1998 MaK Technologies, Inc.
3
** All rights reserved.
4
*********************************************************************/
5
/*********************************************************************
6
** $RCSfile: attrVal.h,v $ $Revision: 1.11 $ $State: Exp $
7
*********************************************************************/
8
11
12
#ifdef DtIFSPEC13
13
14
#ifndef DtAttrVal_H_
15
#define DtAttrVal_H_
16
17
#include "
rtiMsConfig.h
"
18
#ifdef DtIFSPEC13DLC
19
#include "
RTI13.h
"
20
#define RTI rti13
21
#else
22
#include "RTI.hh"
23
#endif
24
25
class
DT_DLL_LRC
DtAttrVal
26
{
27
public
:
28
37
DtAttrVal(
RTI::Handle
h,
const
char
* data,
RTI::ULong
valueLength,
38
char
*buffPtr=0);
39
41
virtual
~DtAttrVal();
42
47
virtual
void
setData(
const
char
* buff,
RTI::ULong
valueLength);
48
54
virtual
void
setDataPointer(
const
char
* buff,
RTI::ULong
valueLength);
55
56
virtual
RTI::Handle
handle()
const
;
57
virtual
RTI::ULong
size()
const
;
58
virtual
const
char
*data()
const
;
59
60
protected
:
61
62
RTI::Handle
myHandle;
63
RTI::ULong
mySize;
64
char
* myOwnedBuff;
65
char
* myBuff;
66
};
67
68
inline
RTI::Handle
DtAttrVal::handle()
const
69
{
70
return
myHandle;
71
}
72
73
inline
RTI::ULong
DtAttrVal::size()
const
74
{
75
return
mySize;
76
}
77
78
inline
const
char
* DtAttrVal::data()
const
79
{
80
return
myBuff;
81
}
82
83
#endif
84
#endif
85
Document ID: Generated on Fri Sep 27 00:57:56 EDT 2019 from SVN revision 201708
Copyright © 2005-2018 VT MÄK Inc. All Rights Reserved (
www.mak.com
)