SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::helper::logging::MessageFormatter Class Referenceabstract

#include <MessageFormatter.h>

Inheritance diagram for sofa::helper::logging::MessageFormatter:

Public Member Functions

virtual void formatMessage (const Message &m, std::ostream &out)=0
 

Protected Member Functions

 MessageFormatter ()
 
virtual std::string getPrefixText (unsigned int type) const
 
virtual std::ostream & setColor (std::ostream &stream, unsigned int type) const
 

Constructor details

sofa::helper::logging::MessageFormatter::MessageFormatter ( )
inlineprotected

Function details

virtual void sofa::helper::logging::MessageFormatter::formatMessage ( const Message m,
std::ostream &  out 
)
pure virtual
std::string sofa::helper::logging::MessageFormatter::getPrefixText ( unsigned int  type) const
protectedvirtual
std::ostream & sofa::helper::logging::MessageFormatter::setColor ( std::ostream &  stream,
unsigned int  type 
) const
protectedvirtual