neoGFX
Cross-platform C++ app/game engine
neolib::io_service Class Reference

#include <async_task.hpp>

Inheritance diagram for neolib::io_service:
neolib::i_io_service

Public Types

typedef boost::asio::io_service native_io_service_type
 

Public Member Functions

 io_service (async_task &aTask)
 
bool do_io (bool aProcessEvents=true, std::size_t aMaximumPollCount=kDefaultPollCount) override
 
native_io_service_typenative_object ()
 
- Public Member Functions inherited from neolib::i_io_service
virtual ~i_io_service ()=default
 

Additional Inherited Members

- Static Public Attributes inherited from neolib::i_io_service
static constexpr std::size_t kDefaultPollCount = 256
 

Detailed Description

Definition at line 52 of file async_task.hpp.

Member Typedef Documentation

◆ native_io_service_type

typedef boost::asio::io_service neolib::io_service::native_io_service_type

Definition at line 56 of file async_task.hpp.

Constructor & Destructor Documentation

◆ io_service()

neolib::io_service::io_service ( async_task aTask)
inline

Definition at line 59 of file async_task.hpp.

Member Function Documentation

◆ do_io()

bool neolib::io_service::do_io ( bool  aProcessEvents = true,
std::size_t  aMaximumPollCount = kDefaultPollCount 
)
overridevirtual

Implements neolib::i_io_service.

◆ native_object()

native_io_service_type& neolib::io_service::native_object ( )
inline

Definition at line 63 of file async_task.hpp.


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