SatCat5
satcat5::cfg::LogToLcd Class Referencefinal

Detailed Description

Adapter for connecting log::Log messages to a TextLcd object.

Definition at line 33 of file cfgbus_text_lcd.h.

#include <cfgbus_text_lcd.h>

Inheritance diagram for satcat5::cfg::LogToLcd:
[legend]
Collaboration diagram for satcat5::cfg::LogToLcd:
[legend]

Public Member Functions

 LogToLcd (satcat5::cfg::TextLcd *lcd)
 
void log_event (s8 priority, unsigned nbytes, const char *msg) override
 Callback for each formatted Log message. More...
 

Protected Attributes

satcat5::cfg::TextLcd *const m_lcd
 

Private Attributes

satcat5::log::EventHandlerm_next
 

Member Function Documentation

◆ log_event()

void LogToLcd::log_event ( s8  priority,
unsigned  nbytes,
const char *  msg 
)
overridevirtual

Callback for each formatted Log message.

Child class must override this method.)

Implements satcat5::log::EventHandler.

Definition at line 40 of file cfgbus_text_lcd.cc.


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