NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Typedefs
a
b
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
v
Enumerations
+
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
w
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
+
Enumerator
a
d
e
f
i
k
l
n
p
r
s
u
w
+
Related Functions
b
c
d
e
f
g
i
k
l
m
n
o
p
s
v
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
u
v
w
+
Functions
c
f
h
m
r
s
u
w
+
Variables
a
c
d
g
k
l
n
p
r
s
Typedefs
+
Macros
b
d
e
f
i
l
m
n
p
r
s
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
network-monitor.cpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22
#include "
network-monitor.hpp
"
23
24
#include "ndn-cxx-config.hpp"
25
26
#if defined(NDN_CXX_HAVE_COREFOUNDATION_COREFOUNDATION_H)
27
#include "
detail/network-monitor-impl-osx.hpp
"
28
#elif defined(NDN_CXX_HAVE_RTNETLINK)
29
#include "
detail/network-monitor-impl-rtnl.hpp
"
30
#else
31
32
namespace
ndn
{
33
namespace
util {
34
35
class
NetworkMonitor::Impl
36
{
37
public
:
38
Impl
(
NetworkMonitor
& nm, boost::asio::io_service& io)
39
{
40
BOOST_THROW_EXCEPTION(
Error
(
"Network monitoring is not supported on this platform"
));
41
}
42
};
43
44
}
// namespace util
45
}
// namespace ndn
46
47
#endif
48
49
namespace
ndn
{
50
namespace
util {
51
52
NetworkMonitor::NetworkMonitor
(boost::asio::io_service& io)
53
: m_impl(new
Impl
(*this, io))
54
{
55
}
56
57
NetworkMonitor::~NetworkMonitor
() =
default
;
58
59
}
// namespace util
60
}
// namespace ndn
ndn::util::NetworkMonitor::Impl::Impl
Impl(NetworkMonitor &nm, boost::asio::io_service &io)
Definition:
network-monitor.cpp:38
ndn
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-strategy-choice-helper.hpp:34
network-monitor-impl-rtnl.hpp
ndn::util::NetworkMonitor
Network state change monitor.
Definition:
network-monitor.hpp:53
network-monitor-impl-osx.hpp
ndn::util::NetworkMonitor::NetworkMonitor
NetworkMonitor(boost::asio::io_service &io)
Construct instance and start monitoring for network state changes.
Definition:
network-monitor.cpp:52
ndn::util::NetworkMonitor::Impl
Definition:
network-monitor-impl-osx.hpp:36
ndn::util::NetworkMonitor::Error
Definition:
network-monitor.hpp:56
ndn::util::NetworkMonitor::~NetworkMonitor
~NetworkMonitor()
Terminate network state monitoring.
network-monitor.hpp
ndnSIM
ndn-cxx
src
util
network-monitor.cpp
Generated on Wed Jan 11 2017 18:17:14 for ndnSIM by
1.8.13