MAK Data Logger API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Member Functions | Protected Attributes
MAKLogger::DtMultiMessageOutput Class Reference

Multiple message outputs. More...

+ Inheritance diagram for MAKLogger::DtMultiMessageOutput:
+ Collaboration diagram for MAKLogger::DtMultiMessageOutput:

Classes

struct  filterAndSend
 

Public Member Functions

virtual void outputMessages (const DtMessageBuffer &buffer)
 Apply filter flags to message buffer. More...
 
virtual void filterMessages (const DtMessageBuffer &buffer)
 
virtual void addOutput (DtMessageOutput *output)
 
virtual void removeOutput (DtMessageOutput *output)
 
virtual void clearOutputs ()
 
- Public Member Functions inherited from MAKLogger::DtMessageOutput
 DtMessageOutput ()
 CTOR. More...
 
virtual ~DtMessageOutput ()
 DTOR. More...
 
virtual void activate (const DtMessageInput *fileInput)=0
 Activate the output. More...
 
virtual bool isActivated () const =0
 Get if the output has been activated. More...
 
virtual void deactivate ()=0
 Deactivate the output. More...
 
virtual bool sourceTimeInclusive () const
 Get the whether input time was inclusive. More...
 
virtual void outputMessage (const DtPacket *packet)
 Output a single message. More...
 
virtual bool outputPacket (const DtPacket &packet)=0
 Output a single packet. More...
 
virtual void filterMessages (DtMessageBuffer &buffer)
 Apply filter flags to message buffer. More...
 
virtual void filterMessage (DtPacket *packet)=0
 Apply filter to a packet. More...
 
virtual void filterMessageAllowingCheckpoints (DtPacket *packet)
 Apply filter to a packet, allowing checkpoints. More...
 
virtual const DtMessageIOInfoinfo () const =0
 Return the output's ioinfo. More...
 
virtual void flush ()=0
 Flush output, called after all outputs are finish for a time step. More...
 
virtual void setOutputScaling (double scaling, bool enableStatic, bool isPaused=false)=0
 Set an output scaling value and static indicator. More...
 
virtual void setSendImmediate (bool enable)
 Turn on and off sending immediate messages. More...
 
virtual void setSendRetained (bool enable)
 Turn on and off sending retained messages. More...
 
virtual void setSendInitial (bool enable)
 Turn on and off sending initial state messages. More...
 
void attachFilter (DtMessageFilter *)
 Attach a filter to the output. More...
 
void detachFilter (DtMessageFilter *)
 Detach a filter from the output. More...
 
void filters (DtCollector< DtMessageFilter * > filterCollection) const
 Return the filters associated with the output. More...
 
DtObserveEvent< DtPacket > * preOutputPacketEvent ()
 Get the event signaled before a packet is output. More...
 
DtObserveEvent< DtPacket > * postOutputPacketEvent ()
 Get the event signaled after a packet is output. More...
 
DtObserveEvent< DtPacket > * packetFilteredEvent ()
 Get the event signaled if a packet is filtered. More...
 
virtual void setSourceTime (const DtAbsoluteTime &sourceTime, bool inclusive)
 Set/Get the time boundary used to collect the the source to be processed for output. More...
 
virtual DtAbsoluteTime sourceTime () const
 Set/Get the time boundary used to collect the the source to be processed for output. More...
 

Protected Attributes

std::set< DtMessageOutput * > myOutputs
 
- Protected Attributes inherited from MAKLogger::DtMessageOutput
std::set< DtMessageFilter * > myFilters
 
DtObserveEvent< DtPacketmyPreOutputPacketEvent
 Event called before a packet is output. More...
 
DtObserveEvent< DtPacketmyPostOutputPacketEvent
 Event called after a packet is output. More...
 
DtObserveEvent< DtPacketmyFilteredPacketEvent
 Event called if a packet is filtered. More...
 
bool mySendImmediateFlag
 Whether to send immediate messages. More...
 
bool mySendRetainedFlag
 Whether to send retained messages. More...
 
bool mySendInitialFlag
 Whether to send initial state messages. More...
 
DtAbsoluteTime mySourceTime
 The time used for collecting input. More...
 
bool mySourceTimeBoundary
 Whether the input time was inclusive or exclusive. More...
 

Detailed Description

Multiple message outputs.

Member Function Documentation

virtual void MAKLogger::DtMultiMessageOutput::addOutput ( DtMessageOutput output)
virtual
virtual void MAKLogger::DtMultiMessageOutput::clearOutputs ( )
virtual
virtual void MAKLogger::DtMultiMessageOutput::filterMessages ( const DtMessageBuffer buffer)
virtual
virtual void MAKLogger::DtMultiMessageOutput::outputMessages ( const DtMessageBuffer buffer)
virtual

Apply filter flags to message buffer.

Calls outputMessage on each packet.

Deprecated:
Did not provide sufficient granularity.

Reimplemented from MAKLogger::DtMessageOutput.

virtual void MAKLogger::DtMultiMessageOutput::removeOutput ( DtMessageOutput output)
virtual

Member Data Documentation

std::set<DtMessageOutput*> MAKLogger::DtMultiMessageOutput::myOutputs
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 3 15:35:11 EDT 2024 from SVN revision 270037
Copyright © 2024 MAK Technologies. All Rights Reserved (www.mak.com)