|
asyn 4-25
|
Class for asyn port clients to communicate on the asynCommon interface. More...
#include <asynPortClient.h>
Public Member Functions | |
| asynCommonClient (const char *portName, int addr, const char *drvInfo, double timeout=DEFAULT_TIMEOUT) | |
| Constructor for asynCommon class. | |
| virtual | ~asynCommonClient () |
| Destructor for asynCommon class. | |
| virtual void | report (FILE *fp, int details) |
| Calls the report method in the driver. | |
| virtual asynStatus | connect () |
| Calls the connect method in the driver which attempts to connect to the port device. | |
| virtual asynStatus | disconnect () |
| Calls the disconnect method in the driver disconnects from the port device. | |
Class for asyn port clients to communicate on the asynCommon interface.
| asynCommonClient::asynCommonClient | ( | const char * | portName, |
| int | addr, | ||
| const char * | drvInfo, | ||
| double | timeout = DEFAULT_TIMEOUT |
||
| ) | [inline] |
Constructor for asynCommon class.
| [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 asynCommonClient::~asynCommonClient | ( | ) | [inline, virtual] |
Destructor for asynCommon class.
Disconnects from port, frees resources.
| virtual asynStatus asynCommonClient::connect | ( | ) | [inline, virtual] |
Calls the connect method in the driver which attempts to connect to the port device.
| virtual asynStatus asynCommonClient::disconnect | ( | ) | [inline, virtual] |
Calls the disconnect method in the driver disconnects from the port device.
| virtual void asynCommonClient::report | ( | FILE * | fp, |
| int | details | ||
| ) | [inline, virtual] |
Calls the report method in the driver.
| [in] | fp | The file pointer to write the report to |
| [in] | details | The level of detail for the report |
Reimplemented from asynPortClient.
1.7.4