AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Acore::Asio::IoContext Class Reference

#include "IoContext.h"

Public Member Functions

 IoContext ()
 
 IoContext (int concurrency_hint)
 
 operator IoContextBaseNamespace::IoContextBase & ()
 
 operator IoContextBaseNamespace::IoContextBase const & () const
 
std::size_t run ()
 
void stop ()
 

Private Attributes

IoContextBaseNamespace::IoContextBase _impl
 

Detailed Description

Constructor & Destructor Documentation

◆ IoContext() [1/2]

Acore::Asio::IoContext::IoContext ( )
inline
39: _impl() { }
IoContextBaseNamespace::IoContextBase _impl
Definition: IoContext.h:53

◆ IoContext() [2/2]

Acore::Asio::IoContext::IoContext ( int  concurrency_hint)
inlineexplicit
40: _impl(concurrency_hint) { }

Member Function Documentation

◆ operator IoContextBaseNamespace::IoContextBase &()

Acore::Asio::IoContext::operator IoContextBaseNamespace::IoContextBase & ( )
inline
42{ return _impl; }

References _impl.

◆ operator IoContextBaseNamespace::IoContextBase const &()

Acore::Asio::IoContext::operator IoContextBaseNamespace::IoContextBase const & ( ) const
inline
43{ return _impl; }

References _impl.

◆ run()

std::size_t Acore::Asio::IoContext::run ( )
inline
45{ return _impl.run(); }

References _impl.

Referenced by NetworkThread< SocketType >::Run().

◆ stop()

void Acore::Asio::IoContext::stop ( )
inline
46{ _impl.stop(); }

References _impl.

Referenced by NetworkThread< SocketType >::Stop().

Member Data Documentation

◆ _impl

IoContextBaseNamespace::IoContextBase Acore::Asio::IoContext::_impl
private