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

const short SerialStream::VTime (  ) 

Get current timing of character buffer in 10th of a second. Look here for more documentation about VTIME and VMIN.

Definition at line 336 of file SerialStream.cc.

References LibSerial::SerialStreamBuf::VTime().

                    {
    SerialStreamBuf* my_buffer = dynamic_cast<SerialStreamBuf *>(this->rdbuf()) ;
    if ( my_buffer ) {
      return my_buffer->VTime();
    } else {
      setstate(badbit) ;
      return -1;
    };
}


Generated by  Doxygen 1.6.0   Back to index