Finish documention until someone change something
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
/**
|
||||
* @file outputStreamMqtt.h
|
||||
* @file outputBufMqtt.h
|
||||
* @author Alexander Klein (alex@kleiax.de)
|
||||
* @brief
|
||||
* @brief Contains a small class that provide a streambuf
|
||||
*
|
||||
* The streambuf is used to double the std::cout to consol
|
||||
* and MQTT.
|
||||
*
|
||||
* @version 0.1
|
||||
* @date 2022-02-14
|
||||
*
|
||||
@@ -19,11 +23,29 @@
|
||||
|
||||
#include "debugMqtt.h"
|
||||
|
||||
/**
|
||||
* @brief A alternativ streambuf for std::cout
|
||||
*
|
||||
* The streambuf is used to double the std::cout to consol
|
||||
* and MQTT.
|
||||
*
|
||||
*/
|
||||
class OutputBufMqtt : public std::streambuf {
|
||||
public:
|
||||
/**
|
||||
* @brief Construct a new Output Buf Mqtt object
|
||||
*
|
||||
* @param debugMqtt
|
||||
*/
|
||||
OutputBufMqtt(DebugMqtt* debugMqtt);
|
||||
|
||||
protected:
|
||||
/**
|
||||
* @brief
|
||||
*
|
||||
* @param c
|
||||
* @return std::streambuf::int_type
|
||||
*/
|
||||
virtual std::streambuf::int_type overflow(std::streambuf::int_type c);
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user