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