asyn 4-27
|
Base class for asyn port clients; handles most of the bookkeeping for writing an asyn port client with standard asyn interfaces. More...
#include <asynPortClient.h>
Public Member Functions | |
asynPortClient (const char *portName, int addr, const char *asynInterfaceType, const char *drvInfo, double timeout) | |
Constructor for asynPortClient class. | |
virtual | ~asynPortClient () |
Destructor for asynPortClient class Frees all allocated resources. | |
void | setTimeout (double timeout) |
void | report (FILE *fp, int details) |
Reports the properties of this client. | |
Protected Attributes | |
asynUser * | pasynUser_ |
asynUser * | pasynUserSyncIO_ |
asynInterface * | pasynInterface_ |
double | timeout_ |
char * | portName_ |
int | addr_ |
char * | asynInterfaceType_ |
char * | drvInfo_ |
void * | drvPvt |
void * | interruptPvt_ |
Base class for asyn port clients; handles most of the bookkeeping for writing an asyn port client with standard asyn interfaces.
asynPortClient::asynPortClient | ( | const char * | portName, |
int | addr, | ||
const char * | asynInterfaceType, | ||
const char * | drvInfo, | ||
double | timeout | ||
) |
Constructor for asynPortClient class.
[in] | portName | The name of the asyn port to connect to |
[in] | addr | The address on the asyn port to connect to |
[in] | asynInterfaceType | The name of the asynInterface to connect to (e.g.asynInt32, asynOctet, etc.) |
[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 |
asynPortClient::~asynPortClient | ( | ) | [virtual] |
Destructor for asynPortClient class Frees all allocated resources.
void asynPortClient::report | ( | FILE * | fp, |
int | details | ||
) |
Reports the properties of this client.
Reimplemented in asynCommonClient.
void asynPortClient::setTimeout | ( | double | timeout | ) | [inline] |
int asynPortClient::addr_ [protected] |
char* asynPortClient::asynInterfaceType_ [protected] |
char* asynPortClient::drvInfo_ [protected] |
void* asynPortClient::drvPvt [protected] |
void* asynPortClient::interruptPvt_ [protected] |
asynInterface* asynPortClient::pasynInterface_ [protected] |
asynUser* asynPortClient::pasynUser_ [protected] |
asynUser* asynPortClient::pasynUserSyncIO_ [protected] |
char* asynPortClient::portName_ [protected] |
double asynPortClient::timeout_ [protected] |