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
Classes
Files
File List
File Members
ndnSIM
ndnSIM documentation
All Attributes
All GlobalValues
All LogComponents
All TraceSources
Todo List
Deprecated List
Modules
Namespaces
Classes
Files
File List
File Members
•
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 Thu Nov 2 2017 03:30:29 for ndnSIM by
1.8.11