All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
CLProtocol::ISerialAdapter Struct Referenceabstract

#include <ISerialAdapter.h>

Inheritance diagram for CLProtocol::ISerialAdapter:

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...
 
- Public Member Functions inherited from ISerial
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...
 

Detailed Description

Definition at line 37 of file ISerialAdapter.h.

Member Function Documentation

◆ CheckError()

virtual void CLProtocol::ISerialAdapter::CheckError ( CLINT32  ErrorCode)
pure virtual

throws an exception if the ErrorCode describes an error

A CLErrException will be thrown.

Parameters
ErrorCodeThe error code to validate. If at he error is found,

Implemented in CLProtocol::CCLAllAdapter.

◆ SerialClose()

virtual void CLProtocol::ISerialAdapter::SerialClose ( void  )
pure virtual

Closes the port.

Implemented in CLProtocol::CCLAllAdapter.

◆ SerialInit()

virtual CLINT32 CLProtocol::ISerialAdapter::SerialInit ( void  )
pure virtual

Opens the port.

Implemented in CLProtocol::CCLAllAdapter.


The documentation for this struct was generated from the following file:


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:12