SOFA API  1a4bb3e7
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

◆ getInstance()

RoutingMessageHandler & sofa::helper::logging::routingmessagehandler::MainRoutingMessageHandler::getInstance ( )
static

◆ removeAllFilters()

void sofa::helper::logging::routingmessagehandler::MainRoutingMessageHandler::removeAllFilters ( )
static

◆ setAFilter()

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.