![]() |
MAK Data Logger API Documentation for HLA
|
A DIS packet printer. More...
Inheritance diagram for MAKLogger::DtLgrHlaPacketPrinter:
Collaboration diagram for MAKLogger::DtLgrHlaPacketPrinter:Public Member Functions | |
| virtual | ~DtLgrHlaPacketPrinter () |
| Virtual CTOR. More... | |
| virtual void | beginPrinting (const DtMessageIOInfo *info, const DtMessageInput *msgInput, const DtString &destination) |
| Begin printing to the destination. More... | |
| virtual void | printPacket (const DtPacket &packet) |
| Print a single packet. More... | |
| virtual void | endPrinting () |
| End printing to the destination. More... | |
Public Member Functions inherited from MAKLogger::DtLgrPacketPrinter | |
| DtLgrPacketPrinter () | |
| virtual | ~DtLgrPacketPrinter () |
Protected Types | |
| typedef void(DtLgrHlaPacketPrinter::* | PacketPrintFunction )(const DtPacket &) |
| Print function signature. More... | |
| typedef std::map < DtPacket::DtPacketType, PacketPrintFunction > | PrintFunctionMap |
| Mapping of packet type to print function. More... | |
Protected Member Functions | |
| std::ofstream & | outputStream () |
| Get the current output stream. More... | |
| virtual void | printPacketHeader (const DtPacket &packet) |
| Print the packet header. More... | |
| virtual void | printPacketTail (const DtPacket &packet) |
| Print the packet tail. More... | |
| void | printOtherPacket (const DtPacket &packet) |
| Prints an other packet. More... | |
| void | printFomPacket (const DtPacket &packet) |
| Prints an FOM packet. More... | |
| void | printConfigPacket (const DtPacket &packet) |
| Prints an config packet. More... | |
| void | printDateTimePacket (const DtPacket &packet) |
| Prints an date/time packet. More... | |
| void | printState (const char *stateBuffer, size_t bufferSize, int numberCheckpoints) |
| Prints the checkpoint state records in the given buffer. More... | |
| void | printInitialStatePacket (const DtPacket &packet) |
| Prints an initial state packet. More... | |
| void | printCheckpointPacket (const DtPacket &packet) |
| Prints a checkpoint packet. More... | |
| void | printIndexTablePacket (const DtPacket &packet) |
| Prints an index table packet. More... | |
| void | printRecordingDataPacket (const DtPacket &packet) |
| Prints an recording data packet. More... | |
| void | printStartEndTimePacket (const DtPacket &packet) |
| Print a start/end data packet type. More... | |
| void | printDescriptionPacket (const DtPacket &packet) |
| Print a tape description packet type. More... | |
| void | printEntityTablePacket (const DtPacket &packet) |
| Prints an entity table packet. More... | |
| void | printRegionDescriptorSet (const DtRegionDescSet ®ionSet) |
| Prints a region descriptor set. More... | |
| void | printInteractionPacket (const DtPacket &packet) |
| Prints an interaction packet. More... | |
| void | printInteractionPacketData (const DtPacket &packet, bool printTag) |
| Prints the interaction packet data with(out) tag. More... | |
| void | printUpdatePacket (const DtPacket &packet) |
| Prints an update packet. More... | |
| void | printUpdatePacketData (const DtPacket &packet, bool printTag) |
| Prints the update packet data with(out) tag. More... | |
| void | printRemovalPacket (const DtPacket &packet) |
| Prints an removal packet. More... | |
| void | printPausePacket (const DtPacket &packet) |
| Prints an pause packet. More... | |
| void | printUnpausePacket (const DtPacket &packet) |
| Prints an unpause packet. More... | |
Protected Attributes | |
| int | myPacketCount |
| My count of packets. More... | |
| int | myCheckpointCount |
| My count of checkpoint messages. More... | |
| int | myInteractionCount |
| My count of interaction messages. More... | |
| int | myUpdateCount |
| My count of update messages. More... | |
| int | myRemovalCount |
| My count of removal messages. More... | |
| bool | myPrintRawData |
| My flag for printing raw (binary) data. More... | |
| PrintFunctionMap | myPrintFunctionMap |
| My print function map. More... | |
| std::ofstream * | myOutputFile |
| My output file. More... | |
| DtLogger * | myLogger |
| My logger object. More... | |
| DtBaseFomDesc * | myOutputFom |
| The fom of the packets. More... | |
| const DtLgrFileFormatter * | myFormatter |
| The playback file formatter. More... | |
| DtTime | myFileDateTime |
| Date and time of file (seconds since epoch) More... | |
| DtTime | myUnpauseTime |
| File time when unpaused. More... | |
| DtMessageBuffer | myEndMetadata |
| The end metadata from the input file. More... | |
Private Member Functions | |
| DtLgrHlaPacketPrinter (const DtLgrHlaPacketPrinter &) | |
| Not Implemented. More... | |
| DtLgrHlaPacketPrinter & | operator= (const DtLgrHlaPacketPrinter &) |
| Not Implemented. More... | |
A DIS packet printer.
|
protected |
Print function signature.
|
protected |
Mapping of packet type to print function.
|
virtual |
Virtual CTOR.
Virtual Base class CTOR DTOR
|
private |
Not Implemented.
|
virtual |
Begin printing to the destination.
Reimplemented from MAKLogger::DtLgrPacketPrinter.
|
virtual |
End printing to the destination.
Reimplemented from MAKLogger::DtLgrPacketPrinter.
|
private |
Not Implemented.
|
protected |
Get the current output stream.
|
protected |
Prints a checkpoint packet.
|
protected |
Prints an config packet.
|
protected |
Prints an date/time packet.
|
protected |
Print a tape description packet type.
|
protected |
Prints an entity table packet.
|
protected |
Prints an FOM packet.
|
protected |
Prints an index table packet.
|
protected |
Prints an initial state packet.
|
protected |
Prints an interaction packet.
|
protected |
Prints the interaction packet data with(out) tag.
|
protected |
Prints an other packet.
|
virtual |
Print a single packet.
Implements MAKLogger::DtLgrPacketPrinter.
|
protectedvirtual |
Print the packet header.
|
protectedvirtual |
Print the packet tail.
|
protected |
Prints an pause packet.
|
protected |
Prints an recording data packet.
|
protected |
Prints a region descriptor set.
|
protected |
Prints an removal packet.
|
protected |
Print a start/end data packet type.
|
protected |
Prints the checkpoint state records in the given buffer.
|
protected |
Prints an unpause packet.
|
protected |
Prints an update packet.
|
protected |
Prints the update packet data with(out) tag.
|
protected |
My count of checkpoint messages.
|
protected |
The end metadata from the input file.
|
protected |
Date and time of file (seconds since epoch)
|
protected |
The playback file formatter.
|
protected |
My count of interaction messages.
|
protected |
My logger object.
|
protected |
My output file.
|
protected |
The fom of the packets.
|
protected |
My count of packets.
|
protected |
My print function map.
|
protected |
My flag for printing raw (binary) data.
|
protected |
My count of removal messages.
|
protected |
File time when unpaused.
|
protected |
My count of update messages.