Class for asyn port clients to communicate on the asynFloat32Array interface.
More...
#include <asynPortClient.h>
|
| asynFloat32ArrayClient (const char *portName, int addr, const char *drvInfo, double timeout=DEFAULT_TIMEOUT) |
| Constructor for asynFloat32Array class. More...
|
|
| asynFloat32ArrayClient (const char *portName, const char *drvInfo, int addr=0, double timeout=DEFAULT_TIMEOUT) |
|
virtual | ~asynFloat32ArrayClient () |
| Destructor for asynFloat32Array class. More...
|
|
virtual asynStatus | read (epicsFloat32 *value, size_t nElements, size_t *nIn) |
| Reads an epicsFloat32 array from the port driver. More...
|
|
virtual asynStatus | write (epicsFloat32 *value, size_t nElements) |
| Writes an epicsFloat32 array to the port driver. More...
|
|
virtual asynStatus | registerInterruptUser (interruptCallbackFloat32Array pCallback, void *userPvt=0) |
| Registers an interruptCallbackFloat32Array function that the driver will call when there is a new value. More...
|
|
| asynParamClient (const char *portName, int addr, const char *asynInterfaceType, const char *drvInfo, double timeout) |
| Constructor for asynParamClient class. More...
|
|
virtual | ~asynParamClient () |
| Destructor for asynParamClient class Frees all allocated resources. More...
|
|
void | setTimeout (double timeout) |
|
void | report (FILE *fp, int details) |
| Reports the properties of this client. More...
|
|
char * | getPortName () |
|
char * | getAsynInterfaceType () |
|
Class for asyn port clients to communicate on the asynFloat32Array interface.
◆ asynFloat32ArrayClient() [1/2]
asynFloat32ArrayClient::asynFloat32ArrayClient |
( |
const char * |
portName, |
|
|
int |
addr, |
|
|
const char * |
drvInfo, |
|
|
double |
timeout = DEFAULT_TIMEOUT |
|
) |
| |
|
inline |
Constructor for asynFloat32Array 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 |
◆ asynFloat32ArrayClient() [2/2]
asynFloat32ArrayClient::asynFloat32ArrayClient |
( |
const char * |
portName, |
|
|
const char * |
drvInfo, |
|
|
int |
addr = 0 , |
|
|
double |
timeout = DEFAULT_TIMEOUT |
|
) |
| |
|
inline |
◆ ~asynFloat32ArrayClient()
virtual asynFloat32ArrayClient::~asynFloat32ArrayClient |
( |
| ) |
|
|
inlinevirtual |
Destructor for asynFloat32Array class.
Disconnects from port, frees resources.
◆ read()
virtual asynStatus asynFloat32ArrayClient::read |
( |
epicsFloat32 * |
value, |
|
|
size_t |
nElements, |
|
|
size_t * |
nIn |
|
) |
| |
|
inlinevirtual |
Reads an epicsFloat32 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 |
◆ registerInterruptUser()
virtual asynStatus asynFloat32ArrayClient::registerInterruptUser |
( |
interruptCallbackFloat32Array |
pCallback, |
|
|
void * |
userPvt = 0 |
|
) |
| |
|
inlinevirtual |
Registers an interruptCallbackFloat32Array function that the driver will call when there is a new value.
- Parameters
-
[in] | pCallback | The address of the callback function |
[in] | userPvt | The user-defined pointer to be passed to the callback function |
◆ write()
virtual asynStatus asynFloat32ArrayClient::write |
( |
epicsFloat32 * |
value, |
|
|
size_t |
nElements |
|
) |
| |
|
inlinevirtual |
Writes an epicsFloat32 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: