VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
include
vl
stateRep.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
8
9
#ifndef DtStateRepository_H_
10
#define DtStateRepository_H_
11
12
#include <
vlutil/vlMachineTypes.h
>
13
14
#include "
hostStructs.h
"
15
#include "
objectId.h
"
16
#include <iosfwd>
17
22
class
DT_DLL_VL
DtStateRepository
23
{
24
public
:
25
27
virtual
~
DtStateRepository
();
28
30
DtStateRepository
& operator=(
const
DtStateRepository
& orig);
31
33
virtual
DtStateRepository
* clone(
bool
copy =
false
)
const
= 0;
34
36
virtual
void
printData()
const
= 0;
37
39
virtual
void
printDataToStream(std::ostream& stream)
const
;
40
43
virtual
void
setGlobalId(
const
DtGlobalObjectDesignator
&
id
);
44
virtual
const
DtGlobalObjectDesignator
& globalId()
const
;
45
46
#if DtHLA
47
50
virtual
void
setLocalId(
const
DtObjectId
&
id
);
51
virtual
const
DtObjectId
& localId()
const
;
52
53
#endif
54
55
protected
:
56
58
60
DtStateRepository
();
61
63
DtStateRepository
(
const
DtStateRepository
& orig);
64
65
DtGlobalObjectDesignator
myGlobalId
;
66
67
#if DtHLA
68
DtObjectId
myLocalId
;
69
#endif
70
71
};
72
73
DT_DLL_VL
std::ostream &
operator <<
(std::ostream &str,
const
DtStateRepository
&sr);
74
75
#endif
76
Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)