VR-Link API Documentation for HLA 1516
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
GenericStateRepository.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
6
9
10
#ifndef DtGenericStateRepository_H_
11
#define DtGenericStateRepository_H_
12
13
#if DtHLA
14
15
#include "
stateRepository.h
"
16
17
22
class
DT_DLL_VL
DtGenericStateRepository
:
public
DtStateRepository
23
{
24
public
:
25
27
DtGenericStateRepository
();
28
30
virtual
~
DtGenericStateRepository
();
31
33
DtGenericStateRepository
(
const
DtGenericStateRepository
& orig);
34
36
DtGenericStateRepository
&
operator=
(
37
const
DtGenericStateRepository
& orig);
38
40
virtual
void
setValue(RTI::AttributeHandle handle,
41
const
void
* buffer,
int
size);
42
45
virtual
void
* value(RTI::AttributeHandle handle)
const
;
46
49
virtual
int
valueLength(RTI::AttributeHandle handle)
const
;
50
52
virtual
DtStateRepository
*
clone
(
bool
copy =
false
)
const
;
53
55
virtual
void
printData
()
const
;
56
58
virtual
void
printDataToStream
(std::ostream& stream)
const
;
59
60
62
#if DtHLA_1516
63
RTI::AttributeHandleValueMap& attrs();
64
#else
65
RTI::AttributeHandleValuePairSet
*& attrs();
66
#endif
67
68
public
:
69
70
static
DtStateRepository
* create();
71
72
protected
:
73
74
#if DtHLA_1516
75
RTI::AttributeHandleValueMap
myAttrs
;
76
#else
77
RTI::AttributeHandleValuePairSet
* myAttrs;
78
#endif
79
};
80
81
#endif
82
#endif
83
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
)