Open Lighting Architecture  Latest Git
Public Member Functions | Protected Member Functions | List of all members
ola::messaging::MessagePrinter Class Reference

Detailed Description

The base class for all message printers.

Inheritance diagram for ola::messaging::MessagePrinter:
Inheritance graph
[legend]
Collaboration diagram for ola::messaging::MessagePrinter:
Collaboration graph
[legend]

Public Member Functions

std::string AsString (const class Message *message)
 
virtual void Visit (const BoolMessageField *)
 
virtual void Visit (const IPV4MessageField *)
 
virtual void Visit (const MACMessageField *)
 
virtual void Visit (const UIDMessageField *)
 
virtual void Visit (const StringMessageField *)
 
virtual void Visit (const BasicMessageField< uint8_t > *)
 
virtual void Visit (const BasicMessageField< uint16_t > *)
 
virtual void Visit (const BasicMessageField< uint32_t > *)
 
virtual void Visit (const BasicMessageField< int8_t > *)
 
virtual void Visit (const BasicMessageField< int16_t > *)
 
virtual void Visit (const BasicMessageField< int32_t > *)
 
virtual void Visit (const GroupMessageField *)
 
virtual void PostVisit (const GroupMessageField *)
 

Protected Member Functions

std::ostringstream & Stream ()
 
virtual void PostStringHook ()
 
virtual std::string TransformLabel (const std::string &label)
 

Member Function Documentation

◆ AsString()

string ola::messaging::MessagePrinter::AsString ( const class Message message)

Build the string representation of a message object


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