19 #include <vlutil/vlMutex.h>
31 inline int handle()
const {
return myHandle; }
58 Type_MultiTSUpdates = 9,
63 Type_RecordingData = 11,
64 Type_SimulationData = 12,
66 Type_EntityTable = 13,
71 Type_InteractionDDM = 16,
73 Type_TapeTimeDate = 17,
77 Type_TapeDescription = 20,
79 Type_StartEndTime = 21,
80 Type_InitialState = 22,
82 Type_None = 0x7FFFFFF0
102 void operator delete(
void* v,
size_t t);
105 bool operator <(
const DtPacket& )
const;
110 const char* data()
const;
114 FilterType filter()
const;
124 bool isFromPast()
const;
125 void setIsFromPast(
bool val);
130 bool isStateUpdate()
const;
131 void setIsStateUpdate(
bool val);
138 const char* typeString()
const;
152 void setFilter(FilterType filter);
154 void setType(
int type);
163 bool removeAttribute(
int);
182 static const char* typeToString(DtPacketType packetType);
191 void*
operator new(
size_t t);
223 static void deleteChunks();
std::list< DtPacketAttributeSP > myAttributes
Attribute list, initially NULL.
Definition: packet.h:215
DtSmartBuffer myData
Pointer to packet data.
Definition: packet.h:212
int handle() const
Definition: packet.h:31
Contains MAKLogger::DtSmartBuffer class.
FilterType myFilterCondition
The filter condition of a packet Initially DtUnfiltered.
Definition: packet.h:209
DtAbsoluteTime myTime
The time of the packet (typically the arrival time)
Definition: packet.h:194
static char * endMemory
Deallocate the chunks of data used.
Definition: packet.h:229
int myHandle
Definition: packet.h:34
DtLgrEntityTracker::EntryHandle myEntityTrackingId
Definition: packet.h:202
DtPacketType
MIGRATION Info Same values as LtPacketKind in Logger 3.x versions.
Definition: packet.h:47
Abstract Attribute class that can be specialized upon for specific Attributes.
Definition: packet.h:26
static DtMutex thePacketListMutex
Deallocate the chunks of data used.
Definition: packet.h:226
static char * currentMemory
Deallocate the chunks of data used.
Definition: packet.h:228
Contains MAKLogger::DtLgrEntityTracker class.
bool myIsFromPast
Indicates whether packet is from before tape start (idle listening)
Definition: packet.h:197
Contains MAKLogger::DtAbsoluteTime and MAKLogger::DtRelativeTime classes.
A generic packed of typed binary data.
Definition: packet.h:41
A smart buffer has a shared pointer to the memory buffer and an offset and size of a 'smart' sub buff...
Definition: smartBuffer.h:21
int myType
The type of packet.
Definition: packet.h:205
#define DT_DLL_LGRCORE
Definition: lgrCore.h:19
static DtPacket * theFirstPacket
Deallocate the chunks of data used.
Definition: packet.h:225
int EntryHandle
Definition: lgrEntityTracker.h:37
FilterType
Definition: packet.h:85
static std::vector< char * > theMemoryChunks
Deallocate the chunks of data used.
Definition: packet.h:227
DtBoost::shared_ptr< DtPacketAttribute > DtPacketAttributeSP
Definition: packet.h:37
bool myIsStateUpdate
Indicates whether packet an update from state messages.
Definition: packet.h:200
Absolute Time, a particular measured instance in time, could be thought of as a set of relative times...
Definition: absoluteTime.h:82
Contains lgrCore library definitions.
DtPacket * next
Deallocate the chunks of data used.
Definition: packet.h:230