RSC  0.16.0
rsc::logging::LoggerProxy::SetLevelCallback Class Referenceabstract

Interface for callbacks which are invoked when someone calls setLevel on this proxy. More...

#include <LoggerProxy.h>

Inheritance diagram for rsc::logging::LoggerProxy::SetLevelCallback:
Inheritance graph
Collaboration diagram for rsc::logging::LoggerProxy::SetLevelCallback:
Collaboration graph

Public Member Functions

virtual ~SetLevelCallback ()
 
virtual void call (boost::shared_ptr< LoggerProxy > proxy, const Logger::Level &level)=0
 

Detailed Description

Interface for callbacks which are invoked when someone calls setLevel on this proxy.

This callback also needs to ensure that the level of the called logger is set. LoggerProxy completely delegates the task of assigning levels to the callback.

Author
jwienke
Note
Convert this to a real observer pattern when more feedback is required than only the level change

Definition at line 57 of file LoggerProxy.h.

Constructor & Destructor Documentation

rsc::logging::LoggerProxy::SetLevelCallback::~SetLevelCallback ( )
virtual

Definition at line 32 of file LoggerProxy.cpp.

Member Function Documentation

virtual void rsc::logging::LoggerProxy::SetLevelCallback::call ( boost::shared_ptr< LoggerProxy proxy,
const Logger::Level level 
)
pure virtual

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