OpenRTM-aist 2.0.2
読み取り中…
検索中…
一致する文字列を見つけられません
ListenerHolder.h ファイル
#include <mutex>
#include <vector>
#include <utility>
ListenerHolder.h の依存先関係図:
被依存関係図:

[ソースコード]

クラス

class  RTM::util::ListenerHolder< ListenerClass >
 

名前空間

namespace  RTM
 RT-Middleware
 
namespace  RTM::util
 

マクロ定義

#define LISTENERHOLDER_CALLBACK(func, args)
 

マクロ定義詳解

◆ LISTENERHOLDER_CALLBACK

#define LISTENERHOLDER_CALLBACK ( func,
args )
値:
do { \
std::lock_guard<std::mutex> guard(m_mutex); \
for (auto&& listener : m_listeners) \
{ \
listener.first->func args; \
} \
} while(0)