$search

XmlRpc::XmlRpcLogHandler Class Reference

An interface allowing custom handling of informational message reporting. More...

#include <XmlRpc.h>

Inheritance diagram for XmlRpc::XmlRpcLogHandler:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void log (int level, const char *msg)=0
 Output a message. Custom error handlers should define this method.
virtual ~XmlRpcLogHandler ()

Static Public Member Functions

static XmlRpcLogHandlergetLogHandler ()
 Returns a pointer to the currently installed message reporting object.
static int getVerbosity ()
 Returns the level of verbosity of informational messages. 0 is no output, 5 is very verbose.
static void setLogHandler (XmlRpcLogHandler *lh)
 Specifies the message handler.
static void setVerbosity (int v)
 Specify the level of verbosity of informational messages. 0 is no output, 5 is very verbose.

Static Protected Attributes

static XmlRpcLogHandler_logHandler = &defaultLogHandler
static int _verbosity = 0

Detailed Description

An interface allowing custom handling of informational message reporting.

Definition at line 60 of file XmlRpc.h.


Constructor & Destructor Documentation

virtual XmlRpc::XmlRpcLogHandler::~XmlRpcLogHandler (  )  [inline, virtual]

Definition at line 62 of file XmlRpc.h.


Member Function Documentation

static XmlRpcLogHandler* XmlRpc::XmlRpcLogHandler::getLogHandler (  )  [inline, static]

Returns a pointer to the currently installed message reporting object.

Definition at line 65 of file XmlRpc.h.

static int XmlRpc::XmlRpcLogHandler::getVerbosity (  )  [inline, static]

Returns the level of verbosity of informational messages. 0 is no output, 5 is very verbose.

Definition at line 73 of file XmlRpc.h.

virtual void XmlRpc::XmlRpcLogHandler::log ( int  level,
const char *  msg 
) [pure virtual]

Output a message. Custom error handlers should define this method.

Implemented in DefaultLogHandler.

static void XmlRpc::XmlRpcLogHandler::setLogHandler ( XmlRpcLogHandler lh  )  [inline, static]

Specifies the message handler.

Definition at line 69 of file XmlRpc.h.

static void XmlRpc::XmlRpcLogHandler::setVerbosity ( int  v  )  [inline, static]

Specify the level of verbosity of informational messages. 0 is no output, 5 is very verbose.

Definition at line 77 of file XmlRpc.h.


Member Data Documentation

Definition at line 84 of file XmlRpc.h.

int XmlRpcLogHandler::_verbosity = 0 [static, protected]

Definition at line 85 of file XmlRpc.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


xmlrpcpp
Author(s): Chris Morley and Konstantin Pilipchuk, slight modifications and ROS wrapping by Morgan Quigley
autogenerated on Sat Mar 2 13:22:54 2013