#include <iostream_decls.h>
Public Member Functions | |
BasicScheduledOStream (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 ostream. Blocking operations are wrapped to happen non-blocking.
BasicScheduledOStream< C, T >::BasicScheduledOStream | ( | 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 writing |
BasicScheduledOStream< C, T >::operator int | ( | ) | const [inline] |
Cast operator to get the file descriptor.