#include <ISStream.h>
Public Member Functions | |
cISStream () | |
virtual int | Close () |
virtual int | Flush () |
virtual long long | GetBytesAvailableToRead () |
virtual int | Read (void *buffer, int count) |
virtual int | Write (const void *buffer, int count) |
virtual | ~cISStream () |
Private Member Functions | |
cISStream (const cISStream ©) | |
Interface to read and write data using stream interfaces
Definition at line 27 of file ISStream.h.
|
inline |
Constructor
Definition at line 31 of file ISStream.h.
|
virtual |
Destructor If this instance owns the reader and/or writer streams, they are deleted
Definition at line 20 of file ISStream.cpp.
|
private |
|
inlinevirtual |
Close the stream
Reimplemented in cISFileStream, cISTcpServer, cISSerialPort, and cISTcpClient.
Definition at line 65 of file ISStream.h.
|
inlinevirtual |
Flush the stream
Reimplemented in cISFileStream.
Definition at line 59 of file ISStream.h.
|
inlinevirtual |
Gets the number of bytes available to read
Reimplemented in cISFileStream.
Definition at line 71 of file ISStream.h.
|
inlinevirtual |
Read n bytes from the stream
buffer | the buffer to read into |
count | the max count of bytes to read |
Reimplemented in cISFileStream, cISSerialPort, and cISTcpClient.
Definition at line 45 of file ISStream.h.
|
inlinevirtual |
Write n bytes from the stream to buffer
buffer | the buffer to write into |
count | the max count of bytes to write |
Reimplemented in cISFileStream, cISSerialPort, and cISTcpClient.
Definition at line 53 of file ISStream.h.