BasicScheduledOStream< C, T > Class Template Reference

An ostream implementation working with this library. More...

#include <iostream_decls.h>

List of all members.

Public Member Functions

 BasicScheduledOStream (int f, BaseScheduler &s, std::streamsize size=4096)
 Constructor.
 operator int () const
 Cast operator to get the file descriptor.


Detailed Description

template<class C = char, class T = std::char_traits<C>>
class BasicScheduledOStream< C, T >

An ostream implementation working with this library.

It should be usable like a normal STL ostream. Blocking operations are wrapped to happen non-blocking.


Constructor & Destructor Documentation

template<class C, class T>
BasicScheduledOStream< C, T >::BasicScheduledOStream ( int  f,
BaseScheduler s,
std::streamsize  size = 4096 
)

Constructor.

Parameters:
f is the file descriptor to do IO on
s is the scheduler to work with
size is the buffer size for writing


Member Function Documentation

template<class C, class T>
BasicScheduledOStream< C, T >::operator int (  )  const [inline]

Cast operator to get the file descriptor.

Returns:
the file descriptor


The documentation for this class was generated from the following files:
Generated on Sat Feb 7 01:26:51 2009 by  doxygen 1.5.1