AsyncBufferedReadItem
Engine/source/platform/async/asyncBufferedStream.h
Asynchronous work item for reading an element from the source stream.
Public Types
AsyncStreamRef
Parent
Protected Attributes
The issueing async state.
Protected Functions
Called when the item has been cancelled.
Public Functions
AsyncBufferedReadItem(const AsyncStreamRef & asyncStream, ThreadPool::Context * context)
Detailed Description
Asynchronous work item for reading an element from the source stream.
Public Types
typedef ThreadSafeRef< AsyncBufferedInputStream< T, Stream > > AsyncStreamRef
typedef ThreadWorkItem Parent
Protected Attributes
AsyncStreamRef mAsyncStream
The issueing async state.
T mElement
The element read from the stream.
Stream mSourceStream
Protected Functions
execute()
Reimplemented from: ThreadPool::WorkItem
onCancelled()
Reimplemented from: ThreadPool::WorkItem
Public Functions
AsyncBufferedReadItem(const AsyncStreamRef & asyncStream, ThreadPool::Context * context)