|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <BoostAsioExecutor.h>
Public Member Functions | |
| boost::asio::io_context & | GetIoContext () |
| void | KeepAlive () |
| template<class Handler> | |
| void | Post (Handler &&handler) |
| void | ResetWork () |
| void | Restart () |
| std::size_t | Run () |
| void | Stop () |
Private Attributes | |
| boost::asio::io_context | _ioContext |
| std::unique_ptr< IoContextWorkGuard > | _workGuard |
Definition at line 22 of file BoostAsioExecutor.h.
|
inline |
Definition at line 25 of file BoostAsioExecutor.h.
References _ioContext.
|
inline |
Definition at line 32 of file BoostAsioExecutor.h.
References _ioContext, _workGuard, and Skyfire::Asio::MakeIoContextWorkGuard().
|
inline |
Definition at line 53 of file BoostAsioExecutor.h.
References _ioContext.
|
inline |
Definition at line 37 of file BoostAsioExecutor.h.
References _workGuard, and Skyfire::Asio::ResetWorkGuard().
|
inline |
Definition at line 27 of file BoostAsioExecutor.h.
References _ioContext.
|
inline |
Definition at line 47 of file BoostAsioExecutor.h.
References _ioContext.
Referenced by Skyfire::Asio::IoContextThread::Run().
|
inline |
Definition at line 42 of file BoostAsioExecutor.h.
References _ioContext.
|
private |
Definition at line 59 of file BoostAsioExecutor.h.
Referenced by GetIoContext(), KeepAlive(), Post(), Restart(), Run(), and Stop().
|
private |
Definition at line 60 of file BoostAsioExecutor.h.
Referenced by KeepAlive(), and ResetWork().