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

void SerialPort::SetParity ( const Parity  parityType  )  throw ( NotOpen, std::invalid_argument )

Set the parity type for the serial port.

Exceptions:
NotOpen Thrown if this method is called while the serial port is not open.
std::invalid_argument Thrown if an invalid parity is specified.

Definition at line 338 of file SerialPort.cpp.

{
    mSerialPortImpl->SetParity( parityType ) ;
    return ;
}


Generated by  Doxygen 1.6.0   Back to index