Logo Search packages:      
Sourcecode: libserial version File versions  Download package

std::streambuf::int_type LibSerial::SerialStreamBuf::uflow (  )  [inline, protected, virtual]

Reads and returns the next character from the associated serial port if one otherwise returns traits::eof(). This method is used for unbuffered I/O while underflow() is called for unbuffered I/O.

Returns:
The next character from the serial port.

Definition at line 564 of file SerialStreamBuf.h.

References mPutbackAvailable, and underflow().

        {
            int_type next_ch = underflow() ;
            mPutbackAvailable = false ;
            return next_ch ;
        }


Generated by  Doxygen 1.6.0   Back to index