Pipe between an input source and an output sink.
- Warning
- This class is not used and may disappear without notice.
|
| | Pipe (int buffer_size) |
| | Constructor. More...
|
| |
| | ~Pipe () |
| | Destructor. More...
|
| |
| int | read (char *buffer, int n) |
| | Read n bytes from the internal buffer into the given string buffer. More...
|
| |
| int | write (const char *buffer, int n) |
| | Write n bytes from the given buffer into the internal source buffer. More...
|
| |
| int | free () |
| | Get the number of bytes left in the internal buffer. More...
|
| |
| bool | full () |
| | Check if the internal buffer is full. More...
|
| |
| | Source () |
| | Constructs an empty source object. More...
|
| |
| virtual | ~Source () |
| | Destroys the source object. More...
|
| |
| virtual int | read (char *buffer, int n)=0 |
| | Read n bytes from the source into the given string buffer. More...
|
| |
| virtual int | size () |
| | Get the size of the source. More...
|
| |
| virtual | ~Sink () |
| | Destructor. More...
|
| |
| virtual int | write (const char *buffer, int n)=0 |
| | Write n bytes from the given buffer into the sink. More...
|
| |
| virtual bool | full () |
| | Check if the output sink is full. More...
|
| |