global.hpp File Reference
#include "core/common.hpp"
#include <boost/asio/io_service.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
 

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)