Realistic 3D camera system
3D camera system components
Public Member Functions | List of all members
http::server2::io_service_pool Class Reference

A pool of io_service objects. More...

#include <io_service_pool.hpp>

Inheritance diagram for http::server2::io_service_pool:

Public Member Functions

 io_service_pool (std::size_t pool_size)
 Construct the io_service pool. More...
 
void run ()
 Run all io_service objects in the pool. More...
 
void stop ()
 Stop all io_service objects in the pool. More...
 
asio::io_serviceget_io_service ()
 Get an io_service to use. More...
 

Detailed Description

A pool of io_service objects.

Definition at line 23 of file io_service_pool.hpp.

Constructor & Destructor Documentation

http::server2::io_service_pool::io_service_pool ( std::size_t  pool_size)
explicit

Construct the io_service pool.

Definition at line 19 of file io_service_pool.cpp.

Member Function Documentation

asio::io_service & http::server2::io_service_pool::get_io_service ( )

Get an io_service to use.

Definition at line 59 of file io_service_pool.cpp.

void http::server2::io_service_pool::run ( )

Run all io_service objects in the pool.

Definition at line 36 of file io_service_pool.cpp.

void http::server2::io_service_pool::stop ( )

Stop all io_service objects in the pool.

Definition at line 52 of file io_service_pool.cpp.


The documentation for this class was generated from the following files: