MAK Data Logger API Documentation for HLA
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
lgrCore
stateObject.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 stateObject_H_
10
#define stateObject_H_
11
12
#include "
lgrCore.h
"
13
#include "
virtualConstructor.h
"
14
#include "
lgrEntityTracker.h
"
15
16
#include <vlutil/vlMachineTypes.h>
17
18
namespace
MAKLogger
19
{
20
21
class
DtAbsoluteTime
;
22
class
DtMessageState;
23
class
DtPacket;
24
27
class
DT_DLL_LGRCORE
DtStateObject
28
{
29
public
:
30
31
DT_PURE_VIRTUAL_CTR
(
DtStateObject
,(
DtMessageState
&,
const
DtPacket
&))
32
33
virtual
~
DtStateObject
();
34
36
virtual
DtU64 uniqueId()
const
= 0;
37
39
virtual
const
DtString
& name()
const
= 0;
40
42
virtual
bool
equals(
const
DtStateObject
& copy);
43
45
virtual
DtU64 packetId(
const
DtPacket
&)
const
= 0;
46
49
virtual
void
setPacketId(DtU64,
DtPacket
&)
const
= 0;
50
53
54
virtual
DtLgrEntityTracker::EntryHandle
entityTrackingId()
const
;
55
virtual
void
setEntityTrackingId(
DtLgrEntityTracker::EntryHandle
id
);
57
59
virtual
bool
packetForMe(
const
DtPacket
&)
const
= 0;
60
virtual
void
updateViaPacket(
const
DtPacket
&) = 0;
61
63
virtual
bool
operator < (
const
DtStateObject
& second);
64
67
virtual
bool
isEntity()
const
;
68
71
virtual
bool
isAggregate()
const
;
72
75
virtual
bool
isEnvironmentalProcess()
const
;
76
78
virtual
DtPacket
* createRemoval(
const
DtAbsoluteTime
& currentTime)
const
= 0;
79
80
protected
:
81
82
DtLgrEntityTracker::EntryHandle
myEntityTrackingId
;
83
84
};
85
86
}
87
88
#endif
Document ID: Generated on Mon Jan 19 08:20:14 EST 2015 from SVN revision 149581
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)