Base Framework
Public Member Functions | List of all members
AsynchronousReadOperation Class Reference

Asynchronous read operation. More...

#include <base/io/async/AsynchronousReadOperation.h>

Inherits AsynchronousOperation.

Public Member Functions

 AsynchronousReadOperation () noexcept
 
 AsynchronousReadOperation (AsynchronousReadContext *_context) noexcept
 
 AsynchronousReadOperation (const AsynchronousReadOperation &copy) noexcept
 
AsynchronousReadOperationoperator= (const AsynchronousReadOperation &assign) noexcept
 
void release () noexcept
 
AsynchronousReadCompletion getCompletion () const
 

Detailed Description

Asynchronous read operation.

Asynchronous reading operation returned by an asynchronous IO stream.

Version
1.0

Constructor & Destructor Documentation

◆ AsynchronousReadOperation() [1/3]

AsynchronousReadOperation::AsynchronousReadOperation ( )
inlinenoexcept

Initializes the handle as invalid.

◆ AsynchronousReadOperation() [2/3]

AsynchronousReadOperation::AsynchronousReadOperation ( AsynchronousReadContext _context)
inlinenoexcept

Initializes the handle to the read operation.

◆ AsynchronousReadOperation() [3/3]

AsynchronousReadOperation::AsynchronousReadOperation ( const AsynchronousReadOperation copy)
inlinenoexcept

Initialization of object from other object.

Member Function Documentation

◆ getCompletion()

AsynchronousReadCompletion AsynchronousReadOperation::getCompletion ( ) const

Returns the completion information associated with the asynchronous operation. This method is normally only used for debugging.

◆ operator=()

AsynchronousReadOperation& AsynchronousReadOperation::operator= ( const AsynchronousReadOperation assign)
inlinenoexcept

Assignment of object by object.

◆ release()

void AsynchronousReadOperation::release ( )
inlinenoexcept

Explicit release of the handle to the asynchronous operation. This does not abort the asynchronous operation.