![]() |
MAK Data Logger API Documentation for DIS
|
Inheritance diagram for MAKLogger::DtLgrPacketPrinterOutput:
Collaboration diagram for MAKLogger::DtLgrPacketPrinterOutput:Public Member Functions | |
| DtLgrPacketPrinterOutput (DtLgrPacketPrinter *printer, const DtString &destination, const DtMessageIOInfo *info) | |
| Ctor. More... | |
| virtual | ~DtLgrPacketPrinterOutput () |
| DTOR. More... | |
| virtual void | setPrinter (DtLgrPacketPrinter *printer) |
| Set the printer. More... | |
| virtual void | setDestination (const DtString &destination) |
| Set the destination. More... | |
| virtual const DtString & | destination () const |
| Get the destination. More... | |
| virtual DtLgrPacketPrinter * | currentPrinter () |
| Get the current printer. More... | |
| virtual void | activate (const DtMessageInput *fileInput) |
| Activate the output, this will call beginPrinting of the printer. More... | |
| virtual bool | isActivated () const |
| Get if the output has been activated. More... | |
| virtual void | deactivate () |
| Deactivate the output. More... | |
| virtual bool | outputPacket (const DtPacket &packet) |
| Output a single packet. More... | |
| virtual void | filterMessage (DtPacket *packet) |
| Apply filter flags to message buffer. More... | |
| virtual const DtMessageIOInfo * | info () const |
| Return the output's ioinfo. More... | |
| virtual void | flush () |
| Flush output, called after all outputs are finish for a time step. More... | |
| virtual void | setOutputScaling (double scaling, bool enableStatic, bool isPaused=false) |
| Set an output scaling value and static indicator. More... | |
Protected Attributes | |
| DtLgrPacketPrinter * | myPrinter |
| const DtMessageIOInfo * | myInfo |
| bool | myActivateFlag |
| DtString | myDestination |
Private Member Functions | |
| DtLgrPacketPrinterOutput (const DtLgrPacketPrinterOutput &) | |
| DtLgrPacketPrinterOutput & | operator= (const DtLgrPacketPrinterOutput &) |
| MAKLogger::DtLgrPacketPrinterOutput::DtLgrPacketPrinterOutput | ( | DtLgrPacketPrinter * | printer, |
| const DtString & | destination, | ||
| const DtMessageIOInfo * | info | ||
| ) |
Ctor.
Give the output the printer. And set the printer.
| INPUT | printer A pointer to the printer. The output does not take ownership of the printer. |
|
virtual |
DTOR.
|
private |
|
virtual |
Activate the output, this will call beginPrinting of the printer.
File input is provided for access general source information and meta data.
Implements MAKLogger::DtMessageOutput.
|
virtual |
Get the current printer.
|
virtual |
Deactivate the output.
Implements MAKLogger::DtMessageOutput.
|
virtual |
Get the destination.
|
virtual |
Apply filter flags to message buffer.
Implements MAKLogger::DtMessageOutput.
|
virtual |
Flush output, called after all outputs are finish for a time step.
Implements MAKLogger::DtMessageOutput.
|
virtual |
Return the output's ioinfo.
Implements MAKLogger::DtMessageOutput.
|
virtual |
Get if the output has been activated.
Implements MAKLogger::DtMessageOutput.
|
private |
|
virtual |
Output a single packet.
Implements MAKLogger::DtMessageOutput.
|
virtual |
Set the destination.
This should be called before activate and should not be called after activate until deactivate is called.
|
virtual |
Set an output scaling value and static indicator.
Implements MAKLogger::DtMessageOutput.
|
virtual |
Set the printer.
This should be called before activate and should not be called after activate until deactivate is called.
|
protected |
|
protected |
|
protected |
|
protected |