API Documentation
Loading...
Searching...
No Matches
LogStream Class Referenceabstract

A class that listens to a log object and processes the updates in a specified way. Any number of LogStreams can be attached to a ProgressInfo object and will be updated in real time. More...

#include <LogStream.h>

Inheritance diagram for LogStream:
[legend]
Collaboration diagram for LogStream:
[legend]

Public Member Functions

virtual void addMessage (const LogMessage &message)=0
 
virtual void addMessages (const Buffer< LogMessage > &messages)
 
virtual void allowCancel (bool)
 
virtual void attach (ProgressInfo *stream)
 
void clearLinks ()
 
virtual void detach (ProgressInfo *stream)
 
bool ignoringMessages () const
 
void setIgnoreMessages (bool ignore)
 
virtual void setProgress (fltp04 progress)=0
 
virtual ~LogStream ()
 

Protected Attributes

bool m_ignore_message = false
 
Buffer< ProgressInfo * > m_linked_logs
 

Detailed Description

A class that listens to a log object and processes the updates in a specified way. Any number of LogStreams can be attached to a ProgressInfo object and will be updated in real time.


Constructor & Destructor Documentation

◆ ~LogStream()

virtual ~LogStream ( )
inlinevirtual

Member Function Documentation

◆ addMessage()

virtual void addMessage ( const LogMessage & message)
pure virtual

◆ addMessages()

virtual void addMessages ( const Buffer< LogMessage > & messages)
inlinevirtual

Reimplemented in AsciiFileOutputStream, and LogView.

◆ allowCancel()

virtual void allowCancel ( bool )
inlinevirtual

Reimplemented in StatusBar.

◆ attach()

virtual void attach ( ProgressInfo * stream)
inlinevirtual

Reimplemented in LogView.

◆ clearLinks()

void clearLinks ( )
inline

◆ detach()

virtual void detach ( ProgressInfo * stream)
inlinevirtual

◆ ignoringMessages()

bool ignoringMessages ( ) const
inline

◆ setIgnoreMessages()

void setIgnoreMessages ( bool ignore)
inline

◆ setProgress()

virtual void setProgress ( fltp04 progress)
pure virtual

Member Data Documentation

◆ m_ignore_message

bool m_ignore_message = false
protected

◆ m_linked_logs

Buffer<ProgressInfo*> m_linked_logs
protected

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