Copyright (c) 2013-2014 Regents of the University of California. 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... | |
Copyright (c) 2013-2014 Regents of the University of California.
This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
ndn-cxx library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ndn-cxx library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received copies of the GNU General Public License and GNU Lesser General Public License along with ndn-cxx, e.g., in COPYING.md file. If not, see http://www.gnu.org/licenses/.
See AUTHORS.md for complete list of ndn-cxx authors and contributors.
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 signal-emit.hpp.
#define DECLARE_SIGNAL_EMIT | ( | signalName | ) |
(implementation detail) declares a 'emit_signalName' method
Definition at line 59 of file signal-emit.hpp.
#define NDN_CXX_SIGNAL_EMIT | ( | signalName, | |
... | |||
) | emit_##signalName(__VA_ARGS__) |
(implementation detail) invokes emit_signalName method
Definition at line 71 of file signal-emit.hpp.
#define emitSignal | ( | ... | ) | NDN_CXX_SIGNAL_EMIT(__VA_ARGS__, ::ndn::util::signal::DummyExtraArg()) |
(implementation detail)
Definition at line 76 of file signal-emit.hpp.
Referenced by nfd::LocalFace::decodeAndDispatchInput(), nfd::cs::lru::LruPolicy::LruPolicy(), ns3::ndn::AppFace::onReceiveData(), ns3::ndn::AppFace::onReceiveInterest(), nfd::cs::priority_fifo::PriorityFifoPolicy::PriorityFifoPolicy(), nfd::InternalFace::put(), nfd::StreamFace< Protocol, FaceBase >::sendData(), nfd::MulticastUdpFace::sendData(), nfd::DatagramFace< Protocol, Addressing >::sendData(), nfd::WebSocketFace::sendData(), ns3::ndn::NetDeviceFace::sendData(), nfd::InternalFace::sendData(), ns3::ndn::AppFace::sendData(), nfd::EthernetFace::sendData(), nfd::StreamFace< Protocol, FaceBase >::sendInterest(), nfd::MulticastUdpFace::sendInterest(), nfd::DatagramFace< Protocol, Addressing >::sendInterest(), nfd::WebSocketFace::sendInterest(), ns3::ndn::AppFace::sendInterest(), ns3::ndn::NetDeviceFace::sendInterest(), nfd::InternalFace::sendInterest(), and nfd::EthernetFace::sendInterest().