Class for asyn port clients to communicate on the asynInt32 interface.
More...
#include <asynPortClient.h>
List of all members.
Public Member Functions |
| asynInt32Client (const char *portName, int addr, const char *drvInfo, double timeout=DEFAULT_TIMEOUT) |
| Constructor for asynInt32Client class.
|
virtual | ~asynInt32Client () |
| Destructor for asynInt32Client class.
|
virtual asynStatus | read (epicsInt32 *value) |
| Reads an epicsInt32 value from the port driver.
|
virtual asynStatus | write (epicsInt32 value) |
| Writes an epicsInt32 value to the port driver.
|
virtual asynStatus | getBounds (epicsInt32 *low, epicsInt32 *high) |
| Returns the lower and upper limits of the range of values from the port driver.
|
virtual asynStatus | registerInterruptUser (interruptCallbackInt32 pCallback) |
| Registers an interruptCallbackInt32 function that the driver will call when there is a new value.
|
Detailed Description
Class for asyn port clients to communicate on the asynInt32 interface.
Constructor & Destructor Documentation
asynInt32Client::asynInt32Client |
( |
const char * |
portName, |
|
|
int |
addr, |
|
|
const char * |
drvInfo, |
|
|
double |
timeout = DEFAULT_TIMEOUT |
|
) |
| [inline] |
Constructor for asynInt32Client 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 asynInt32Client::~asynInt32Client |
( |
| ) |
[inline, virtual] |
Destructor for asynInt32Client class.
Disconnects from port, frees resources.
Member Function Documentation
virtual asynStatus asynInt32Client::getBounds |
( |
epicsInt32 * |
low, |
|
|
epicsInt32 * |
high |
|
) |
| [inline, virtual] |
Returns the lower and upper limits of the range of values from the port driver.
- Parameters:
-
[out] | low | The low limit |
[out] | high | The high limit |
virtual asynStatus asynInt32Client::read |
( |
epicsInt32 * |
value | ) |
[inline, virtual] |
Reads an epicsInt32 value from the port driver.
- Parameters:
-
[out] | value | The value read from the port driver |
virtual asynStatus asynInt32Client::registerInterruptUser |
( |
interruptCallbackInt32 |
pCallback | ) |
[inline, virtual] |
Registers an interruptCallbackInt32 function that the driver will call when there is a new value.
- Parameters:
-
[in] | pCallback | The address of the callback function |
virtual asynStatus asynInt32Client::write |
( |
epicsInt32 |
value | ) |
[inline, virtual] |
Writes an epicsInt32 value to the port driver.
- Parameters:
-
[in] | value | The value to write to the port driver |
The documentation for this class was generated from the following file: