SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::helper::logging::routingmessagehandler::MainRoutingMessageHandler Class Reference

#include <RoutingMessageHandler.h>

The MainRoutingMessageHandler class contains a singleton to RoutingMessageHandler and offer static version of RoutingMessageHandler API. More...

Detailed Description

The MainRoutingMessageHandler class contains a singleton to RoutingMessageHandler and offer static version of RoutingMessageHandler API.

See also
RoutingMessageHandler

Static Public Member Functions

static RoutingMessageHandlergetInstance ()
 
static void setAFilter (FilterFunction, MessageHandler *handler)
 All the message of the given class will be routed to this handler. More...
 
static void removeAllFilters ()
 

Function details

RoutingMessageHandler & sofa::helper::logging::routingmessagehandler::MainRoutingMessageHandler::getInstance ( )
static
void sofa::helper::logging::routingmessagehandler::MainRoutingMessageHandler::removeAllFilters ( )
static
void sofa::helper::logging::routingmessagehandler::MainRoutingMessageHandler::setAFilter ( FilterFunction  filter,
MessageHandler handler 
)
static

All the message of the given class will be routed to this handler.