#include <iostream_decls.h>
Public Member Functions | |
| BasicScheduledIOStream (int f, BaseScheduler &s, std::streamsize insize=4096, std::streamsize outsize=4096) | |
| Constructor. | |
| operator int () const | |
| Cast operator to get the file descriptor. | |
It should be usable like a normal STL iostream. Blocking operations are wrapped to happen non-blocking.
| BasicScheduledIOStream< C, T >::BasicScheduledIOStream | ( | int | f, | |
| BaseScheduler & | s, | |||
| std::streamsize | insize = 4096, |
|||
| std::streamsize | outsize = 4096 | |||
| ) |
Constructor.
| f | is the file descriptor to do IO on | |
| s | is the scheduler to work with | |
| insize | is the buffer size for reading | |
| outsize | is the buffer size for writing |
| BasicScheduledIOStream< C, T >::operator int | ( | ) | const [inline] |
Cast operator to get the file descriptor.
1.5.1