libkazv
Kazv::AsioStdFileHandler< Exec > Class Template Reference

#include <asio-std-file-handler.hpp>

Public Types

using FileProviderT = AsioStdFileProvider< Exec >
 

Public Member Functions

 AsioStdFileHandler (Exec exec)
 Constructor. More...
 
FileProviderT getProviderFor (FileDesc desc) const
 Get the FileProvider for desc. More...
 

Member Typedef Documentation

◆ FileProviderT

template<class Exec >
using Kazv::AsioStdFileHandler< Exec >::FileProviderT = AsioStdFileProvider<Exec>

Constructor & Destructor Documentation

◆ AsioStdFileHandler()

template<class Exec >
Kazv::AsioStdFileHandler< Exec >::AsioStdFileHandler ( Exec  exec)
inline

Constructor.

Parameters
execA boost::asio executor. It should run actions sequentially.

Member Function Documentation

◆ getProviderFor()

template<class Exec >
FileProviderT Kazv::AsioStdFileHandler< Exec >::getProviderFor ( FileDesc  desc) const
inline

Get the FileProvider for desc.

Warning
You should not call this explicitly. It should only be called by desc.provider(*this).

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