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

LibSerial::SerialStream::~SerialStream (  )  [inline, virtual]

The destructor. It closes the stream associated with mFileDescriptor. The rest is done by the fstream destructor.

Definition at line 312 of file SerialStream.h.

References mIOBuffer.

                                    {
            // 
            // If a SerialStreamBuf is associated with this SerialStream
            // then we need to destroy it here.
            //
            if( mIOBuffer ) {
                delete mIOBuffer ;
            }
        }


Generated by  Doxygen 1.6.0   Back to index