Go to the documentation of this file.
33 #ifndef NDN_CXX_UTIL_SIGNAL_EMIT_HPP
34 #define NDN_CXX_UTIL_SIGNAL_EMIT_HPP
55 #define DECLARE_SIGNAL_EMIT(signalName) \
56 template<typename... TArgs> \
57 void emit_##signalName(const TArgs&... args) \
59 signalName(args...); \
67 #define NDN_CXX_SIGNAL_EMIT(signalName, ...) \
68 emit_##signalName(__VA_ARGS__)
72 #define emitSignal(...) \
73 NDN_CXX_SIGNAL_EMIT(__VA_ARGS__, ::ndn::signal::DummyExtraArg())