WARNING: USE THIS SOFTWARE AT YOUR OWN RISK! THIS IS EXPERIMENTAL SOFTWARE NOT INTENDED FOR PRODUCTION USE! Zuble is currently an early stage prototype. As such Zuble is minimally tested and inherently unstable. It is provided for experimental, development, and demonstration purposes only. Zuble QML Types   |  Zuble C++ Classes   |  Zuble Overview
Zuble  0.1
Zuble Framework C++/QML extension API
Public Types | Public Member Functions | List of all members
Zbl::ZblLogOutput Class Referenceabstract

Abstract base class for Zuble log output modules. More...

#include <ZblLogOutput.h>

Inheritance diagram for Zbl::ZblLogOutput:
Inheritance graph
[legend]
Collaboration diagram for Zbl::ZblLogOutput:
Collaboration graph
[legend]

Public Types

typedef QList< ZblLogOutput * > zLogModuleList
 

Public Member Functions

 ZblLogOutput (QObject *parent=nullptr)
 
virtual ~ZblLogOutput ()
 
QString getMetadata ()
 
virtual void updateLogProfileParameters (const QString &profilePath)=0
 

Detailed Description

Abstract base class for Zuble log output modules.

TBD: THIS SHOULD BE SPLIT INTO INTERFACE AND BASE CLASS because: we should not force log output plug-in to link with zblcore

All log output modules are derived from this class and implement either ZblLogTextIF if writing to a formatted text stream or ZblLogTargetIF if writing to a non-text stream target. Optionally output modules may implement ZblLogFileOutIF if they need to receive file open/close notifications.

Definition at line 54 of file ZblLogOutput.h.

Member Typedef Documentation

◆ zLogModuleList

Definition at line 60 of file ZblLogOutput.h.

Constructor & Destructor Documentation

◆ ZblLogOutput()

Zbl::ZblLogOutput::ZblLogOutput ( QObject *  parent = nullptr)
inlineexplicit

Definition at line 62 of file ZblLogOutput.h.

◆ ~ZblLogOutput()

virtual Zbl::ZblLogOutput::~ZblLogOutput ( )
inlinevirtual

Definition at line 63 of file ZblLogOutput.h.

Member Function Documentation

◆ getMetadata()

QString Zbl::ZblLogOutput::getMetadata ( )

Definition at line 8 of file ZblLogOutput.cpp.

Referenced by ~ZblLogOutput().

◆ updateLogProfileParameters()

virtual void Zbl::ZblLogOutput::updateLogProfileParameters ( const QString &  profilePath)
pure virtual

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