Torque3D Documentation / _generateds / AsyncBufferedReadItem

AsyncBufferedReadItem

Engine/source/platform/async/asyncBufferedStream.h

Asynchronous work item for reading an element from the source stream.

More...

Public Types

Protected Attributes

The issueing async state.

T

The element read from the stream.

Protected Functions

Execute the actions associated with this work item.

Called when the item has been cancelled.

Public Functions

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)