signals.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22 #ifndef NLSR_SIGNALS_HPP
23 #define NLSR_SIGNALS_HPP
24 
25 #include "common.hpp"
26 #include <ndn-cxx/util/signal.hpp>
27 #include <ndn-cxx/name.hpp>
28 
29 namespace nlsr {
30 
31 class RoutingTable;
32 class RoutingTableEntry;
33 class SyncLogicHandler;
34 
35 using AfterRoutingChange = ndn::util::Signal<RoutingTable, const std::list<RoutingTableEntry>&>;
36 using OnNewLsa = ndn::util::Signal<SyncLogicHandler, const ndn::Name&, const uint64_t&, const ndn::Name&>;
37 
38 } // namespace nlsr
39 
40 #endif // NLSR_SIGNALS_HPP
ndn::util::Signal< SyncLogicHandler, const ndn::Name &, const uint64_t &, const ndn::Name & > OnNewLsa
Definition: signals.hpp:36
Copyright (c) 2014-2018, The University of Memphis, Regents of the University of California.
Copyright (c) 2014-2020, The University of Memphis, Regents of the University of California, Arizona Board of Regents.
ndn::util::Signal< RoutingTable, const std::list< RoutingTableEntry > & > AfterRoutingChange
Definition: signals.hpp:35