ListenerHolder.h File Reference

#include <vector>
#include <utility>
#include <coil/Mutex.h>
#include <coil/Guard.h>
#include <coil/NonCopyable.h>

Go to the source code of this file.

Classes

class  RTM::util::ListenerHolder< ListenerClass >

Namespaces

namespace  RTM
 

RT-Middleware.


namespace  RTM::util

Defines

#define LISTENERHOLDER_CALLBACK(func, args)

Define Documentation

#define LISTENERHOLDER_CALLBACK ( func,
args   ) 
Value:
{                                                       \
    Guard guard(m_mutex);                                 \
    for (int i(0), len(m_listeners.size()); i < len; ++i) \
      {                                                   \
        m_listeners[i].first->func args;                  \
      }                                                   \
  }
Generated on Sat Apr 19 14:45:42 2014 for OpenRTM by  doxygen 1.6.3