SOFA API  1c8b807d
Open source framework for multi-physics simuation
sofa::helper::logging::MessageDispatcherImpl Class Reference

Public Attributes

mutex m_mutex
 
std::vector< MessageHandler * > m_messageHandlers = getDefaultMessageHandlers()
 

Public Member Functions

mutex & getMutex ()
 
std::vector< MessageHandler * > & getHandlers ()
 
int addHandler (MessageHandler *o)
 
int rmHandler (MessageHandler *o)
 
void clearHandlers ()
 
void process (sofa::helper::logging::Message &m)
 

Attribute details

◆ m_messageHandlers

std::vector<MessageHandler*> sofa::helper::logging::MessageDispatcherImpl::m_messageHandlers = getDefaultMessageHandlers()

◆ m_mutex

mutex sofa::helper::logging::MessageDispatcherImpl::m_mutex

Function details

◆ addHandler()

int sofa::helper::logging::MessageDispatcherImpl::addHandler ( MessageHandler o)
inline

◆ clearHandlers()

void sofa::helper::logging::MessageDispatcherImpl::clearHandlers ( )
inline

◆ getHandlers()

std::vector<MessageHandler*>& sofa::helper::logging::MessageDispatcherImpl::getHandlers ( )
inline

◆ getMutex()

mutex& sofa::helper::logging::MessageDispatcherImpl::getMutex ( )
inline

◆ process()

void sofa::helper::logging::MessageDispatcherImpl::process ( sofa::helper::logging::Message m)
inline

◆ rmHandler()

int sofa::helper::logging::MessageDispatcherImpl::rmHandler ( MessageHandler o)
inline