#include <vector>
#include <utility>
#include <coil/Mutex.h>
#include <coil/Guard.h>
#include <coil/NonCopyable.h>
構成 | |
class | RTM::util::ListenerHolder< ListenerClass > |
ネームスペース | |
namespace | RTM |
RT-Middleware. | |
namespace | RTM::util |
マクロ定義 | |
#define | LISTENERHOLDER_CALLBACK(func, args) |
#define LISTENERHOLDER_CALLBACK | ( | func, | |||
args | ) |
{ \ Guard guard(m_mutex); \ for (int i(0), len(m_listeners.size()); i < len; ++i) \ { \ m_listeners[i].first->func args; \ } \ }