humoto
Public Member Functions | Protected Attributes | List of all members
humoto::LogMessageRaw< t_Data > Class Template Reference

Detailed Description

template<typename t_Data>
class humoto::LogMessageRaw< t_Data >

Raw log message (without a name)

Template Parameters
t_Datamessage data type

Definition at line 509 of file logger.h.

#include <logger.h>

Inheritance diagram for humoto::LogMessageRaw< t_Data >:
Inheritance graph

Public Member Functions

 LogMessageRaw (const t_Data &data)
 Construct message. More...
 
 ~LogMessageRaw ()
 Default destructor. More...
 
virtual void write (std::ostream *out)
 Write message to a stream. This method must be implemented in derived classes. More...
 

Protected Attributes

t_Data data_
 

Constructor & Destructor Documentation

◆ LogMessageRaw()

template<typename t_Data >
humoto::LogMessageRaw< t_Data >::LogMessageRaw ( const t_Data &  data)
inlineexplicit

Construct message.

Parameters
[in]data

Definition at line 521 of file logger.h.

◆ ~LogMessageRaw()

template<typename t_Data >
humoto::LogMessageRaw< t_Data >::~LogMessageRaw ( )
inline

Default destructor.

Definition at line 529 of file logger.h.

Member Function Documentation

◆ write()

template<typename t_Data >
virtual void humoto::LogMessageRaw< t_Data >::write ( std::ostream *  out)
inlinevirtual

Write message to a stream. This method must be implemented in derived classes.

Parameters
[in]outoutput stream

Implements humoto::LogMessageBase.

Definition at line 533 of file logger.h.

Member Data Documentation

◆ data_

template<typename t_Data >
t_Data humoto::LogMessageRaw< t_Data >::data_
protected

Definition at line 512 of file logger.h.


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