uvw 2.12.1
Loading...
Searching...
No Matches
uvw::FsRequest< T > Class Template Reference

Base class for FsReq and/or FileReq. More...

#include <fs.h>

Inheritance diagram for uvw::FsRequest< T >:
Collaboration diagram for uvw::FsRequest< T >:

Additional Inherited Members

- Public Types inherited from uvw::Emitter< T >
- Public Member Functions inherited from uvw::Request< T, uv_fs_t >
bool cancel ()
 Cancels a pending request.
 
std::size_t size () const noexcept
 Returns the size of the underlying request type.
 
- Public Member Functions inherited from uvw::Resource< T, uv_fs_t >
std::shared_ptr< R > data () const
 Gets user-defined data. uvw won't use this field in any case.
 
void data (std::shared_ptr< void > uData)
 Sets arbitrary data. uvw won't use this field in any case.
 
- Public Member Functions inherited from uvw::UnderlyingType< T, uv_fs_t >
Looploop () const noexcept
 Gets the loop from which the resource was originated.
 
const uv_fs_t * raw () const noexcept
 Gets the underlying raw data structure.
 
uv_fs_t * raw () noexcept
 Gets the underlying raw data structure.
 
- Public Member Functions inherited from uvw::Emitter< T >
template<typename E >
Connection< E > on (Listener< E > f)
 Registers a long-lived listener with the event emitter.
 
template<typename E >
Connection< E > once (Listener< E > f)
 Registers a short-lived listener with the event emitter.
 
template<typename E >
void erase (Connection< E > conn) noexcept
 Disconnects a listener from the event emitter.
 
template<typename E >
void clear () noexcept
 Disconnects all the listeners for the given event type.
 
void clear () noexcept
 Disconnects all the listeners.
 
template<typename E >
bool empty () const noexcept
 Checks if there are listeners registered for the specific event.
 
bool empty () const noexcept
 Checks if there are listeners registered with the event emitter.
 
- Static Public Member Functions inherited from uvw::UnderlyingType< T, uv_fs_t >
static std::shared_ptr< T > create (Args &&...args)
 Creates a new resource of the given type.
 
- Protected Types inherited from uvw::Resource< T, uv_fs_t >
- Protected Member Functions inherited from uvw::Request< T, uv_fs_t >
- Protected Member Functions inherited from uvw::Resource< T, uv_fs_t >
- Protected Member Functions inherited from uvw::UnderlyingType< T, uv_fs_t >
- Protected Member Functions inherited from uvw::Emitter< T >
- Static Protected Member Functions inherited from uvw::Request< T, uv_fs_t >

Detailed Description

template<typename T>
class uvw::FsRequest< T >

Base class for FsReq and/or FileReq.

Not directly instantiable, should not be used by the users of the library.

Definition at line 342 of file fs.h.


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