YANE-Framework Tutorial 1.1.0
Public Member Functions

DebugMasterHTML Class Reference

DebugMasterHTML class. More...

#include <debugmasterhtml.h>

Inheritance diagram for DebugMasterHTML:
Collaboration diagram for DebugMasterHTML:

List of all members.

Public Member Functions

virtual void addDebugInfo (std::string clientname, std::string message, std::string dataname, void *data, int datasize, int datatype, int level)
 Adds a DebugMessage to the output.
 DebugMasterHTML (yane::Utils::RTClock *clock, std::string filename, int textwidth=80, bool overwrite=false)
virtual ~DebugMasterHTML ()

Detailed Description

This class creates a HTML-file with the formatted debug messages.

Definition at line 30 of file debugmasterhtml.h.

Constructor & Destructor Documentation

LIB_EXPORT DebugMasterHTML::DebugMasterHTML ( yane::Utils::RTClock clock,
std::string  filename,
int  textwidth = 80,
bool  overwrite = false 

Create new DebugMasterHTML object.

clockClock for the message timestamp.
filenameFilename the output is saved into.
textwidthWidth after which an line-break is forced.
overwritetrue if file with the same name should be overwritten otherwise false.

Definition at line 24 of file debugmasterhtml.cpp.

LIB_EXPORT DebugMasterHTML::~DebugMasterHTML ( ) [virtual]

Called when deleting the object.

Definition at line 47 of file debugmasterhtml.cpp.

Member Function Documentation

LIB_EXPORT void DebugMasterHTML::addDebugInfo ( std::string  clientname,
std::string  message,
std::string  dataname,
void *  data,
int  datasize,
int  datatype,
int  level 
) [virtual]

Adds a formatted DebugMessage to the output. This function overwrites the class in DebugMasterTextStream. For information about the parameters look at the DebugMaster documentation.

See also:

Reimplemented from yane::Utils::DebugMasterTextStream.

Definition at line 60 of file debugmasterhtml.cpp.

Here is the call graph for this function: