global.hpp File Reference
#include "core/common.hpp"
+ Include dependency graph for global.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 nfd
 Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents, Colorado State University, University Pierre & Marie Curie, Sorbonne University, Washington University in St.
 

Functions

boost::asio::io_service & nfd::getGlobalIoService ()
 Returns the global io_service instance for the calling thread. More...
 
boost::asio::io_service & nfd::getMainIoService ()
 
boost::asio::io_service & nfd::getRibIoService ()
 
Scheduler & nfd::getScheduler ()
 Returns the global Scheduler instance for the calling thread. More...
 
void nfd::runOnMainIoService (const std::function< void()> &f)
 Run a function on the main io_service instance. More...
 
void nfd::runOnRibIoService (const std::function< void()> &f)
 Run a function on the RIB io_service instance. More...
 
void nfd::setMainIoService (boost::asio::io_service *mainIo)
 
void nfd::setRibIoService (boost::asio::io_service *ribIo)