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

void LibSerial::SerialStream::Close (  )  [inline]

Close the serial port. No communications can occur with the serial port after calling this routine.

Definition at line 324 of file SerialStream.h.

References mIOBuffer.

Referenced by SerialStream().

                            {
            //
            // If a SerialStreamBuf is associated with the SerialStream then
            // destroy it.
            //
            if( mIOBuffer ) {
                delete mIOBuffer ;
                mIOBuffer = 0 ;
            }
        }


Generated by  Doxygen 1.6.0   Back to index