NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
34
inline
boost::asio::io_service&
35
getGlobalIoService
()
36
{
37
return
*
static_cast<
boost::asio::io_service*
>
(
nullptr
);
38
}
39
40
#ifdef WITH_TESTS
41
45
inline
void
46
resetGlobalIoService()
47
{
48
// noop
49
}
50
#endif
51
52
}
// namespace nfd
53
54
#endif // NFD_CORE_GLOBAL_IO_HPP
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:38
nfd::getGlobalIoService
boost::asio::io_service & getGlobalIoService()
Definition:
global-io.hpp:35
ndnSIM
NFD
core
global-io.hpp
Generated on Tue Feb 23 2016 22:18:44 for ndnSIM by
1.8.11