Class for asyn port clients to communicate on the asynInt32Array interface.
More...
#include <asynPortClient.h>
List of all members.
Public Member Functions |
| asynInt32ArrayClient (const char *portName, int addr, const char *drvInfo, double timeout=DEFAULT_TIMEOUT) |
| Constructor for asynInt32Array class.
|
virtual | ~asynInt32ArrayClient () |
| Destructor for asynInt32Array class.
|
virtual asynStatus | read (epicsInt32 *value, size_t nElements, size_t *nIn) |
| Reads an epicsInt32 array from the port driver.
|
virtual asynStatus | write (epicsInt32 *value, size_t nElements) |
| Writes an epicsInt32 array to the port driver.
|
virtual asynStatus | registerInterruptUser (interruptCallbackInt32Array pCallback) |
| Registers an interruptCallbackInt32Array function that the driver will call when there is a new value.
|
Detailed Description
Class for asyn port clients to communicate on the asynInt32Array interface.
Constructor & Destructor Documentation
asynInt32ArrayClient::asynInt32ArrayClient |
( |
const char * |
portName, |
|
|
int |
addr, |
|
|
const char * |
drvInfo, |
|
|
double |
timeout = DEFAULT_TIMEOUT |
|
) |
| [inline] |
Constructor for asynInt32Array class.
- Parameters:
-
[in] | portName | The name of the asyn port to connect to |
[in] | addr | The address on the asyn port to connect to |
[in] | drvInfo | The drvInfo string to identify which property of the port is being connected to |
[in] | timeout | The default timeout for all communications between the client and the port driver |
virtual asynInt32ArrayClient::~asynInt32ArrayClient |
( |
| ) |
[inline, virtual] |
Destructor for asynInt32Array class.
Disconnects from port, frees resources.
Member Function Documentation
virtual asynStatus asynInt32ArrayClient::read |
( |
epicsInt32 * |
value, |
|
|
size_t |
nElements, |
|
|
size_t * |
nIn |
|
) |
| [inline, virtual] |
Reads an epicsInt32 array from the port driver.
- Parameters:
-
[out] | value | The array to read from the port driver |
[in] | nElements | The number of elements in the array |
[out] | nIn | The number of array elements actual read |
virtual asynStatus asynInt32ArrayClient::registerInterruptUser |
( |
interruptCallbackInt32Array |
pCallback | ) |
[inline, virtual] |
Registers an interruptCallbackInt32Array function that the driver will call when there is a new value.
- Parameters:
-
[in] | pCallback | The address of the callback function |
virtual asynStatus asynInt32ArrayClient::write |
( |
epicsInt32 * |
value, |
|
|
size_t |
nElements |
|
) |
| [inline, virtual] |
Writes an epicsInt32 array to the port driver.
- Parameters:
-
[in] | value | The array to write to the port driver |
[in] | nElements | The number of elements in the array |
The documentation for this class was generated from the following file: