asyn 4-25
Public Member Functions
asynInt8ArrayClient Class Reference

Class for asyn port clients to communicate on the asynInt8Array interface. More...

#include <asynPortClient.h>

Inheritance diagram for asynInt8ArrayClient:
asynPortClient

List of all members.

Public Member Functions

 asynInt8ArrayClient (const char *portName, int addr, const char *drvInfo, double timeout=DEFAULT_TIMEOUT)
 Constructor for asynInt8Array class.
virtual ~asynInt8ArrayClient ()
 Destructor for asynInt8Array class.
virtual asynStatus read (epicsInt8 *value, size_t nElements, size_t *nIn)
 Reads an epicsInt8 array from the port driver.
virtual asynStatus write (epicsInt8 *value, size_t nElements)
 Writes an epicsInt8 array to the port driver.
virtual asynStatus registerInterruptUser (interruptCallbackInt8Array pCallback)
 Registers an interruptCallbackInt8Array function that the driver will call when there is a new value.

Detailed Description

Class for asyn port clients to communicate on the asynInt8Array interface.


Constructor & Destructor Documentation

asynInt8ArrayClient::asynInt8ArrayClient ( const char *  portName,
int  addr,
const char *  drvInfo,
double  timeout = DEFAULT_TIMEOUT 
) [inline]

Constructor for asynInt8Array class.

Parameters:
[in]portNameThe name of the asyn port to connect to
[in]addrThe address on the asyn port to connect to
[in]drvInfoThe drvInfo string to identify which property of the port is being connected to
[in]timeoutThe default timeout for all communications between the client and the port driver
virtual asynInt8ArrayClient::~asynInt8ArrayClient ( ) [inline, virtual]

Destructor for asynInt8Array class.

Disconnects from port, frees resources.


Member Function Documentation

virtual asynStatus asynInt8ArrayClient::read ( epicsInt8 *  value,
size_t  nElements,
size_t *  nIn 
) [inline, virtual]

Reads an epicsInt8 array from the port driver.

Parameters:
[out]valueThe array to read from the port driver
[in]nElementsThe number of elements in the array
[out]nInThe number of array elements actual read
virtual asynStatus asynInt8ArrayClient::registerInterruptUser ( interruptCallbackInt8Array  pCallback) [inline, virtual]

Registers an interruptCallbackInt8Array function that the driver will call when there is a new value.

Parameters:
[in]pCallbackThe address of the callback function
virtual asynStatus asynInt8ArrayClient::write ( epicsInt8 *  value,
size_t  nElements 
) [inline, virtual]

Writes an epicsInt8 array to the port driver.

Parameters:
[in]valueThe array to write to the port driver
[in]nElementsThe number of elements in the array

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