This header provides macros that allows a signal to be emitted from a derived class of its owner. More...

Go to the source code of this file.
Classes | |
| class | ndn::util::signal::DummyExtraArg | 
| (implementation detail) a filler for extra argument  More... | |
Namespaces | |
| ndn | |
| Copyright (c) 2011-2015 Regents of the University of California.  | |
| ndn::util | |
| ndn::util::signal | |
Macros | |
| #define | DECLARE_SIGNAL_EMIT(signalName) | 
| (implementation detail) declares a 'emit_signalName' method  More... | |
| #define | NDN_CXX_SIGNAL_EMIT(signalName, ...) emit_##signalName(__VA_ARGS__) | 
| (implementation detail) invokes emit_signalName method  More... | |
| #define | emitSignal(...) NDN_CXX_SIGNAL_EMIT(__VA_ARGS__, ::ndn::util::signal::DummyExtraArg()) | 
| (implementation detail)  More... | |
This header provides macros that allows a signal to be emitted from a derived class of its owner.
In 'protected' section of owner class declaration, DECLARE_SIGNAL_EMIT(signalName) From a derived class of owner, this->emitSignal(signalName, arg1, arg2);
Definition in file emit.hpp.
| #define DECLARE_SIGNAL_EMIT | ( | signalName | ) | 
(implementation detail) declares a 'emit_signalName' method
| #define NDN_CXX_SIGNAL_EMIT | ( | signalName, | |
| ... | |||
| ) | emit_##signalName(__VA_ARGS__) | 
| #define emitSignal | ( | ... | ) | NDN_CXX_SIGNAL_EMIT(__VA_ARGS__, ::ndn::util::signal::DummyExtraArg()) |