I/O device provider interface.
More...
#include <iodevice_provider.h>
I/O device provider interface.
virtual CL_IODeviceProvider::~CL_IODeviceProvider |
( |
) | |
|
|
inlinevirtual |
Returns a new provider to the same resource.
virtual int CL_IODeviceProvider::get_position |
( |
) | |
const |
|
inlinevirtual |
Returns the position in the data stream.
Returns -1 if the position is unknown.
virtual int CL_IODeviceProvider::get_size |
( |
) | |
const |
|
inlinevirtual |
Returns the size of data stream.
Returns -1 if the size is unknown.
virtual int CL_IODeviceProvider::peek |
( |
void * |
data, |
|
|
int |
len |
|
) |
| |
|
pure virtual |
virtual int CL_IODeviceProvider::receive |
( |
void * |
data, |
|
|
int |
len, |
|
|
bool |
receive_all = true |
|
) |
| |
|
pure virtual |
Receive data from device.
virtual int CL_IODeviceProvider::send |
( |
const void * |
data, |
|
|
int |
len, |
|
|
bool |
send_all = true |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file: