YANE-Framework Tutorial 1.1.0
Public Member Functions

DebugMasterHTML Class Reference

DebugMasterHTML class. More...

#include <debugmasterhtml.h>

Inheritance diagram for DebugMasterHTML:
[legend]
Collaboration diagram for DebugMasterHTML:
[legend]

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)
 Constructor.
virtual ~DebugMasterHTML ()
 Destructor.

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.

Parameters:
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:
DebugMaster

Reimplemented from yane::Utils::DebugMasterTextStream.

Definition at line 60 of file debugmasterhtml.cpp.

Here is the call graph for this function: