NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
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
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 Sat Nov 12 2016 16:02:53 for ndnSIM by
1.8.12