Class for asyn port clients to communicate on the asynFloat64 interface.
More...
#include <asynPortClient.h>
|
| asynFloat64Client (const char *portName, int addr, const char *drvInfo, double timeout=DEFAULT_TIMEOUT) |
| Constructor for asynFloat64Client class. More...
|
|
| asynFloat64Client (const char *portName, const char *drvInfo, int addr=0, double timeout=DEFAULT_TIMEOUT) |
|
virtual | ~asynFloat64Client () |
| Destructor for asynFloat64Client class. More...
|
|
virtual asynStatus | read (epicsFloat64 *value) |
| Reads an epicsFloat64 value from the port driver. More...
|
|
virtual asynStatus | write (epicsFloat64 value) |
| Writes an epicsFloat64 value to the port driver. More...
|
|
virtual asynStatus | registerInterruptUser (interruptCallbackFloat64 pCallback, void *userPvt=0) |
| Registers an interruptCallbackFloat64 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 asynFloat64 interface.
◆ asynFloat64Client() [1/2]
asynFloat64Client::asynFloat64Client |
( |
const char * |
portName, |
|
|
int |
addr, |
|
|
const char * |
drvInfo, |
|
|
double |
timeout = DEFAULT_TIMEOUT |
|
) |
| |
|
inline |
Constructor for asynFloat64Client 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 |
◆ asynFloat64Client() [2/2]
asynFloat64Client::asynFloat64Client |
( |
const char * |
portName, |
|
|
const char * |
drvInfo, |
|
|
int |
addr = 0 , |
|
|
double |
timeout = DEFAULT_TIMEOUT |
|
) |
| |
|
inline |
◆ ~asynFloat64Client()
virtual asynFloat64Client::~asynFloat64Client |
( |
| ) |
|
|
inlinevirtual |
◆ read()
virtual asynStatus asynFloat64Client::read |
( |
epicsFloat64 * |
value | ) |
|
|
inlinevirtual |
Reads an epicsFloat64 value from the port driver.
- Parameters
-
[out] | value | The value read from the port driver |
◆ registerInterruptUser()
virtual asynStatus asynFloat64Client::registerInterruptUser |
( |
interruptCallbackFloat64 |
pCallback, |
|
|
void * |
userPvt = 0 |
|
) |
| |
|
inlinevirtual |
Registers an interruptCallbackFloat64 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 asynFloat64Client::write |
( |
epicsFloat64 |
value | ) |
|
|
inlinevirtual |
Writes an epicsFloat64 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: