![]() |
MAK Data Logger API Documentation for HLA
|
Class responsible for message Output to a file. More...
Inheritance diagram for MAKLogger::DtLgrFileOutput:
Collaboration diagram for MAKLogger::DtLgrFileOutput:Public Member Functions | |
| virtual | ~DtLgrFileOutput () |
| DTOR. More... | |
| virtual void | setDuration (const DtRelativeTime &relTime)=0 |
| Set the duration of the output. More... | |
| virtual void | setStartEndTimes (const double startTime, const double endTime)=0 |
| Set the start and end times to be written to the output. More... | |
| virtual void | setDescription (const DtString &description)=0 |
| Set the description to be written to the output. More... | |
| virtual void | setWriteBufferSize (size_t)=0 |
| Set the write buffer size suggestion. More... | |
| virtual size_t | getWriteBufferSize () const =0 |
| Get the write buffer size. More... | |
| virtual bool | outputPacket (const DtPacket &buffer) |
| Output a packet. More... | |
| virtual void | filterMessage (DtPacket *packet) |
| Filter the message, no-op. More... | |
| virtual const DtString & | filename () const =0 |
| Get the current file name. More... | |
| virtual DtFilePosition | fileSize () const =0 |
| Get the current file size of the output. More... | |
| virtual DtFilePosition | currentPosition () const =0 |
| Get the current position in the file. More... | |
| virtual int | lastMessageType () const |
| Get the type of the last message outputted. More... | |
| virtual size_t | lastMessageSize () const |
| Get the size of the last message outputted. More... | |
| virtual DtAbsoluteTime | lastMessageTime () const |
| Get the time of the last message outputted. More... | |
| virtual DtAbsoluteTime | firstMessageTime () const |
| Get the time of the first message outputted. More... | |
Protected Member Functions | |
| DtLgrFileOutput () | |
| Intentionally protected constructor. More... | |
| virtual bool | writePacket (const DtPacket &packet)=0 |
| Write a packet to the output. More... | |
Protected Attributes | |
| DtAbsoluteTime | myFirstTime |
| DtAbsoluteTime | myLastTime |
| int | myLastPacketType |
| size_t | myLastPacketSize |
Class responsible for message Output to a file.
|
protected |
Intentionally protected constructor.
|
virtual |
DTOR.
|
pure virtual |
Get the current position in the file.
Implemented in MAKLogger::DtLoggerFileWriter.
|
pure virtual |
Get the current file name.
Implemented in MAKLogger::DtLoggerFileWriter.
|
pure virtual |
Get the current file size of the output.
Implemented in MAKLogger::DtLoggerFileWriter.
|
virtual |
Filter the message, no-op.
Implements MAKLogger::DtMessageOutput.
|
virtual |
Get the time of the first message outputted.
If no packets are outputted 0.0 is returned.
|
pure virtual |
Get the write buffer size.
Implemented in MAKLogger::DtLoggerFileWriter.
|
virtual |
Get the size of the last message outputted.
If no packets are outputted 0 is returned.
|
virtual |
Get the time of the last message outputted.
If no packets are outputted 0.0 is returned.
|
virtual |
Get the type of the last message outputted.
If no packets are outputted Type_None is returned.
|
virtual |
Output a packet.
Implements MAKLogger::DtMessageOutput.
|
pure virtual |
Set the description to be written to the output.
Implemented in MAKLogger::DtLoggerFileWriter.
|
pure virtual |
Set the duration of the output.
Implemented in MAKLogger::DtLoggerFileWriter.
|
pure virtual |
Set the start and end times to be written to the output.
Implemented in MAKLogger::DtLoggerFileWriter.
|
pure virtual |
Set the write buffer size suggestion.
Implemented in MAKLogger::DtLoggerFileWriter.
|
protectedpure virtual |
Write a packet to the output.
This is the method to implement the actual writing.
Implemented in MAKLogger::DtLoggerFileWriter.
|
protected |
|
protected |
|
protected |
|
protected |