Adapter base reading data from IDataReader<T>.Read and pushing it to LocalVoice. More...
Inherits IServiceable.
Inherited by BufferReaderPushAdapterAsyncPool< T >.
Public Member Functions | |
abstract void | Service (LocalVoice localVoice) |
Do the actual data read/push. More... | |
BufferReaderPushAdapterBase (IDataReader< T > reader) | |
Create a new BufferReaderPushAdapterBase instance More... | |
void | Dispose () |
Release resources associated with this instance. More... | |
Protected Attributes | |
IDataReader< T > | reader |
Adapter base reading data from IDataReader<T>.Read and pushing it to LocalVoice.
Use this with a LocalVoice of same T type.
BufferReaderPushAdapterBase | ( | IDataReader< T > | reader | ) |
Create a new BufferReaderPushAdapterBase instance
reader | DataReader to read from. |
void Dispose | ( | ) |
Release resources associated with this instance.
|
pure virtual |
Do the actual data read/push.
localVoice | LocalVoice instance to push data to. |
Implements IServiceable.
Implemented in BufferReaderPushAdapterAsyncPoolShortToFloat, BufferReaderPushAdapterAsyncPoolFloatToShort, and BufferReaderPushAdapterAsyncPool< T >.