NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
network-monitor-impl-noop.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
24 #ifndef NDN_NET_NETWORK_MONITOR_IMPL_NOOP_HPP
25 #define NDN_NET_NETWORK_MONITOR_IMPL_NOOP_HPP
26 
27 #include "../network-monitor.hpp"
28 
29 namespace ndn {
30 namespace net {
31 
33 {
34 public:
35  explicit
36  NetworkMonitorImplNoop(boost::asio::io_service& io) = default;
37 
38  uint32_t
39  getCapabilities() const final
40  {
42  }
43 
44  shared_ptr<const NetworkInterface>
45  getNetworkInterface(const std::string&) const final
46  {
47  return {};
48  }
49 
50  std::vector<shared_ptr<const NetworkInterface>>
51  listNetworkInterfaces() const final
52  {
53  return {};
54  }
55 };
56 
57 } // namespace net
58 } // namespace ndn
59 
60 #endif // NDN_NET_NETWORK_MONITOR_IMPL_NOOP_HPP
Copyright (c) 2011-2015 Regents of the University of California.
std::vector< shared_ptr< const NetworkInterface > > listNetworkInterfaces() const final
NetworkMonitorImplNoop(boost::asio::io_service &io)=default
shared_ptr< const NetworkInterface > getNetworkInterface(const std::string &) const final
NetworkMonitor is not supported and is a no-op.