asyn  4-36
Public Member Functions | Protected Attributes | List of all members
asynParamClient Class Reference

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>

Inheritance diagram for asynParamClient:
asynCommonClient asynEnumClient asynFloat32ArrayClient asynFloat64ArrayClient asynFloat64Client asynGenericPointerClient asynInt16ArrayClient asynInt32ArrayClient asynInt32Client asynInt8ArrayClient asynOctetClient asynOptionClient asynUInt32DigitalClient

Public Member Functions

 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 ()
 

Protected Attributes

asynUser * pasynUser_
 
asynUser * pasynUserSyncIO_
 
asynInterface * pasynInterface_
 
double timeout_
 
char * portName_
 
int addr_
 
char * asynInterfaceType_
 
char * drvInfo_
 
void * drvPvt
 
void * interruptPvt_
 

Detailed Description

Base class for asyn port clients; handles most of the bookkeeping for writing an asyn port client with standard asyn interfaces.

Constructor & Destructor Documentation

◆ asynParamClient()

asynParamClient::asynParamClient ( const char *  portName,
int  addr,
const char *  asynInterfaceType,
const char *  drvInfo,
double  timeout 
)

Constructor for asynParamClient class.

Parameters
[in]portNameThe name of the asyn port to connect to
[in]addrThe address on the asyn port to connect to
[in]asynInterfaceTypeThe name of the asynInterface to connect to (e.g.asynInt32, asynOctet, etc.)
[in]drvInfoThe drvInfo string to identify which property of the port is being connected to
[in]timeoutThe default timeout for all communications between the client and the port driver

◆ ~asynParamClient()

asynParamClient::~asynParamClient ( )
virtual

Destructor for asynParamClient class Frees all allocated resources.

Member Function Documentation

◆ getAsynInterfaceType()

char* asynParamClient::getAsynInterfaceType ( )
inline

◆ getPortName()

char* asynParamClient::getPortName ( )
inline

◆ report()

void asynParamClient::report ( FILE *  fp,
int  details 
)

Reports the properties of this client.

◆ setTimeout()

void asynParamClient::setTimeout ( double  timeout)
inline

Member Data Documentation

◆ addr_

int asynParamClient::addr_
protected

◆ asynInterfaceType_

char* asynParamClient::asynInterfaceType_
protected

◆ drvInfo_

char* asynParamClient::drvInfo_
protected

◆ drvPvt

void* asynParamClient::drvPvt
protected

◆ interruptPvt_

void* asynParamClient::interruptPvt_
protected

◆ pasynInterface_

asynInterface* asynParamClient::pasynInterface_
protected

◆ pasynUser_

asynUser* asynParamClient::pasynUser_
protected

◆ pasynUserSyncIO_

asynUser* asynParamClient::pasynUserSyncIO_
protected

◆ portName_

char* asynParamClient::portName_
protected

◆ timeout_

double asynParamClient::timeout_
protected

The documentation for this class was generated from the following files: