#include <RoutingMessageHandler.h>
The RoutingMessageHandler class saves a copy of the messages in a buffer. More...
The RoutingMessageHandler class saves a copy of the messages in a buffer.
This class is a MessageHandler to implement complex routing rules.
User interested in having a singleton of this class should have a look at
Public Member Functions | |
RoutingMessageHandler () | |
~RoutingMessageHandler () override | |
void | setAFilter (FilterFunction, MessageHandler *handler) |
All the message of the given class will be routed to this handler. More... | |
void | removeAllFilters () |
Remove all the filter but don't delete the associated memory. More... | |
void | process (Message &m) override |
Inherited from MessageHandler. More... | |
sofa::helper::logging::routingmessagehandler::RoutingMessageHandler::RoutingMessageHandler | ( | ) |
|
inlineoverride |
|
overridevirtual |
Inherited from MessageHandler.
Implements sofa::helper::logging::MessageHandler.
void sofa::helper::logging::routingmessagehandler::RoutingMessageHandler::removeAllFilters | ( | ) |
Remove all the filter but don't delete the associated memory.
void sofa::helper::logging::routingmessagehandler::RoutingMessageHandler::setAFilter | ( | FilterFunction | f, |
MessageHandler * | handler | ||
) |
All the message of the given class will be routed to this handler.