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