Realistic 3D camera system
3D camera system components
Classes | Public Types | Public Member Functions | Friends | List of all members
asio::detail::task_io_service Class Reference

#include <task_io_service.hpp>

Inheritance diagram for asio::detail::task_io_service:
asio::detail::service_base< task_io_service > asio::io_service::service asio::detail::noncopyable


struct  task_cleanup
struct  work_cleanup

Public Types

typedef task_io_service_operation operation

Public Member Functions

ASIO_DECL task_io_service (asio::io_service &io_service, std::size_t concurrency_hint=0)
ASIO_DECL void shutdown_service ()
 Destroy all user-defined handler objects owned by the service. More...
ASIO_DECL void init_task ()
ASIO_DECL std::size_t run (asio::error_code &ec)
ASIO_DECL std::size_t run_one (asio::error_code &ec)
ASIO_DECL std::size_t poll (asio::error_code &ec)
ASIO_DECL std::size_t poll_one (asio::error_code &ec)
ASIO_DECL void stop ()
ASIO_DECL bool stopped () const
ASIO_DECL void reset ()
void work_started ()
void work_finished ()
bool can_dispatch ()
template<typename Handler >
void dispatch (Handler &handler)
template<typename Handler >
void post (Handler &handler)
ASIO_DECL void post_immediate_completion (operation *op, bool is_continuation)
ASIO_DECL void post_deferred_completion (operation *op)
ASIO_DECL void post_deferred_completions (op_queue< operation > &ops)
ASIO_DECL void abandon_operations (op_queue< operation > &ops)
- Public Member Functions inherited from asio::detail::service_base< task_io_service >
 service_base (asio::io_service &io_service)
- Public Member Functions inherited from asio::io_service::service
asio::io_serviceget_io_service ()
 Get the io_service object that owns the service. More...


struct task_cleanup
struct work_cleanup

Additional Inherited Members

- Static Public Attributes inherited from asio::detail::service_base< task_io_service >
static asio::detail::service_id< task_io_serviceid
- Protected Member Functions inherited from asio::io_service::service
ASIO_DECL service (asio::io_service &owner)
 Constructor. More...
virtual ASIO_DECL ~service ()
 Destructor. More...

Detailed Description

Definition at line 39 of file task_io_service.hpp.

Member Typedef Documentation

typedef task_io_service_operation asio::detail::task_io_service::operation

Definition at line 43 of file task_io_service.hpp.

Constructor & Destructor Documentation

asio::detail::task_io_service::task_io_service ( asio::io_service io_service,
std::size_t  concurrency_hint = 0 

Definition at line 88 of file task_io_service.ipp.

Member Function Documentation

void asio::detail::task_io_service::abandon_operations ( op_queue< operation > &  ops)

Definition at line 320 of file task_io_service.ipp.

bool asio::detail::task_io_service::can_dispatch ( )

Definition at line 91 of file task_io_service.hpp.

template<typename Handler >
void asio::detail::task_io_service::dispatch ( Handler &  handler)

Definition at line 31 of file task_io_service.hpp.

void asio::detail::task_io_service::init_task ( )

Definition at line 121 of file task_io_service.ipp.

std::size_t asio::detail::task_io_service::poll ( asio::error_code ec)

Definition at line 172 of file task_io_service.ipp.

std::size_t asio::detail::task_io_service::poll_one ( asio::error_code ec)

Definition at line 203 of file task_io_service.ipp.

template<typename Handler >
void asio::detail::task_io_service::post ( Handler &  handler)

Definition at line 55 of file task_io_service.hpp.

void asio::detail::task_io_service::post_deferred_completion ( operation op)

Definition at line 271 of file task_io_service.ipp.

void asio::detail::task_io_service::post_deferred_completions ( op_queue< operation > &  ops)

Definition at line 289 of file task_io_service.ipp.

void asio::detail::task_io_service::post_immediate_completion ( operation op,
bool  is_continuation 

Definition at line 248 of file task_io_service.ipp.

void asio::detail::task_io_service::reset ( )

Definition at line 242 of file task_io_service.ipp.

std::size_t asio::detail::task_io_service::run ( asio::error_code ec)

Definition at line 132 of file task_io_service.ipp.

std::size_t asio::detail::task_io_service::run_one ( asio::error_code ec)

Definition at line 154 of file task_io_service.ipp.

void asio::detail::task_io_service::shutdown_service ( )

Destroy all user-defined handler objects owned by the service.

Implements asio::io_service::service.

Definition at line 102 of file task_io_service.ipp.

void asio::detail::task_io_service::stop ( )

Definition at line 230 of file task_io_service.ipp.

bool asio::detail::task_io_service::stopped ( ) const

Definition at line 236 of file task_io_service.ipp.

void asio::detail::task_io_service::work_finished ( )

Definition at line 84 of file task_io_service.hpp.

void asio::detail::task_io_service::work_started ( )

Definition at line 78 of file task_io_service.hpp.

Friends And Related Function Documentation

friend struct task_cleanup

Definition at line 145 of file task_io_service.hpp.

friend struct work_cleanup

Definition at line 149 of file task_io_service.hpp.

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