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
global-io.hpp
Go to the documentation of this file.
1
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
25
#ifndef NFD_CORE_GLOBAL_IO_HPP
26
#define NFD_CORE_GLOBAL_IO_HPP
27
28
#include "
common.hpp
"
29
30
namespace
nfd
{
31
32
namespace
detail {
33
37
class
SimulatorIo
38
{
39
public
:
40
void
41
post
(
const
std::function<
void
()>& callback);
42
43
void
44
dispatch
(
const
std::function<
void
()>& callback);
45
};
46
47
}
// namespace detail
48
51
detail::SimulatorIo
&
52
getGlobalIoService
();
53
54
}
// namespace nfd
55
56
#endif // NFD_CORE_GLOBAL_IO_HPP
nfd::getGlobalIoService
detail::SimulatorIo & getGlobalIoService()
Definition:
global-io.cpp:48
common.hpp
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
nfd::detail::SimulatorIo::post
void post(const std::function< void()> &callback)
Definition:
global-io.cpp:34
nfd::detail::SimulatorIo
Simulator-based IO that implements a few interfaces from boost::asio::io_service. ...
Definition:
global-io.hpp:37
nfd::detail::SimulatorIo::dispatch
void dispatch(const std::function< void()> &callback)
ndnSIM
NFD
core
global-io.hpp
Generated on Wed Jan 11 2017 18:17:15 for ndnSIM by
1.8.13