#include <ISerialAdapter.h>
Public Member Functions | |
virtual void | CheckError (CLINT32 ErrorCode)=0 |
throws an exception if the ErrorCode describes an error More... | |
virtual void | SerialClose (void)=0 |
Closes the port. More... | |
virtual CLINT32 | SerialInit (void)=0 |
Opens the port. More... | |
![]() | |
virtual CLINT32 CLPROTOCOL | clGetSupportedBaudRates (CLUINT32 *baudRates)=0 |
returns the valid baud rates of the current interface. More... | |
virtual CLINT32 CLPROTOCOL | clSerialRead (CLINT8 *buffer, CLUINT32 *bufferSize, CLUINT32 serialTimeOut)=0 |
calls clSerialRead as defined by the camera link standard More... | |
virtual CLINT32 CLPROTOCOL | clSerialWrite (CLINT8 *buffer, CLUINT32 *bufferSize, CLUINT32 serialTimeOut)=0 |
calls clSerialWrite as defined by the camera link standard More... | |
virtual CLINT32 CLPROTOCOL | clSetBaudRate (CLUINT32 baudRate)=0 |
This function sets the baud rate for the serial port of the selected device. More... | |
Definition at line 37 of file ISerialAdapter.h.
|
pure virtual |
throws an exception if the ErrorCode describes an error
A CLErrException will be thrown.
ErrorCode | The error code to validate. If at he error is found, |
Implemented in CLProtocol::CCLAllAdapter.
|
pure virtual |
Closes the port.
Implemented in CLProtocol::CCLAllAdapter.
|
pure virtual |
Opens the port.
Implemented in CLProtocol::CCLAllAdapter.