NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: 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
32
class
NetworkMonitorImplNoop
:
public
NetworkMonitorImpl
33
{
34
public
:
35
explicit
36
NetworkMonitorImplNoop
(boost::asio::io_service& io) =
default
;
37
38
uint32_t
39
getCapabilities
() const final
40
{
41
return
NetworkMonitor::CAP_NONE
;
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
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
ndn::net::NetworkMonitorImplNoop::listNetworkInterfaces
std::vector< shared_ptr< const NetworkInterface > > listNetworkInterfaces() const final
Definition:
network-monitor-impl-noop.hpp:51
ndn::net::NetworkMonitorImplNoop::NetworkMonitorImplNoop
NetworkMonitorImplNoop(boost::asio::io_service &io)=default
ndn::net::NetworkMonitorImpl
Definition:
network-monitor.hpp:137
ndn::net::NetworkMonitorImplNoop::getNetworkInterface
shared_ptr< const NetworkInterface > getNetworkInterface(const std::string &) const final
Definition:
network-monitor-impl-noop.hpp:45
ndn::net::NetworkMonitor::CAP_NONE
NetworkMonitor is not supported and is a no-op.
Definition:
network-monitor.hpp:75
ndn::net::NetworkMonitorImplNoop
Definition:
network-monitor-impl-noop.hpp:32
ndn::net
Definition:
link-type-helper.cpp:30
ndn::net::NetworkMonitorImplNoop::getCapabilities
uint32_t getCapabilities() const final
Definition:
network-monitor-impl-noop.hpp:39
ndnSIM
ndn-cxx
src
net
detail
network-monitor-impl-noop.hpp
Generated on Tue Aug 7 2018 16:19:16 for ndnSIM by
1.8.14