Go to the documentation of this file.
33 #ifndef NDN_CXX_UTIL_SIGNAL_EMIT_HPP
34 #define NDN_CXX_UTIL_SIGNAL_EMIT_HPP
59 #define DECLARE_SIGNAL_EMIT(signalName) \
60 template<typename ...TArgs> \
61 void emit_##signalName(const TArgs&... args) \
63 signalName(args...); \
71 #define NDN_CXX_SIGNAL_EMIT(signalName, ...) \
72 emit_##signalName(__VA_ARGS__)
76 #define emitSignal(...) \
77 NDN_CXX_SIGNAL_EMIT(__VA_ARGS__, ::ndn::util::signal::DummyExtraArg())