SDK Home Glossary Index Left Right Up

CommCaps Class


Section contents


Overview

Defined in

ccomms.oxh

Description

CommCaps represents the configuration capabilities of a serial port.

See Also

CommCaps


Construction / destruction


NewCommCaps - Constructor

Usage

this& = NewCommCaps&:

Description

Creates a CommCaps object and returns a handle which allows the object to be manipulated.

Return Value
this& An value which represents the created CommCaps object
Error Handling

If the object could not be created then an error is generated which should be trapped by an ONERR handler.

Example
  LOCAL this&

  this& = NewCommCaps&:
  DeleteCommCaps:(this&) 

DeleteCommCaps - Destructor

Usage

DeleteCommCaps:(BYREF this&)

Description

Destroys the CommCaps object.

Arguments
BYREF this& A handle to a CommCaps object
Example
  LOCAL this&

  this& = NewCommCaps&:()
  DeleteCommCaps:(this&) 

Methods provided


CommCapsDataBits - Number of Data Bits supported

Usage

cap& = CommCapsDataBits&:(this&)

Description

<TBS>

Arguments
this& A handle to a CommCaps object
Return value
caps& The number of data bits supported

CommCapsFIFO - FIFO capabilities supported

Usage

cap& = CommCapsFIFO&:(this&)

Description

<TBS>

Arguments
this& A handle to a CommCaps object
Return value
caps& The FIFO capabilities supported

CommCapsHandshake - Handshaking capabilities supported

Usage

cap& = CommCapsHandshake&:(this&)

Description

<TBS>

Arguments
this& A handle to a CommCaps object
Return value
caps& The handshaking capabilities supported

CommCapsParity - Parity capabilities supported

Usage

cap& = CommCapsParity&:(this&)

Description

<TBS>

Arguments
this& A handle to a CommCaps object
Return value
caps& The parity capabilities supported

CommCapsRate - Data rate capabilities supported

Usage

cap& = CommCapsRate&:(this&)

Description

<TBS>

Arguments
this& A handle to a CommCaps object
Return value
caps& The data rate capabilities supported

CommCapsSignals - Signals capabilities supported

Usage

cap& = CommCapsSignals&:(this&)

Description

<TBS>

Arguments
this& A handle to a CommCaps object
Return value
caps& The signal line capabilities supported

CommCapsSIR - SIR capabilities supported

Usage

cap& = CommCapsSIR&:(this&)

Description

<TBS>

Arguments
this& A handle to a CommCaps object
Return value
caps& The SIR capabilities

CommCapsStopBits - Stop bit capabilities supported

Usage

cap& = CommCapsStopBits&:(this&)

Description

<TBS>

Arguments
this& A handle to a CommCaps object
Return value
caps& The Stop bit capabilities

  SDK Home Glossary Index Left Right Up