asyn 4-27
Public Member Functions
asynFloat64Client Class Reference

Class for asyn port clients to communicate on the asynFloat64 interface. More...

#include <asynPortClient.h>

Inheritance diagram for asynFloat64Client:
asynPortClient

List of all members.

Public Member Functions

 asynFloat64Client (const char *portName, int addr, const char *drvInfo, double timeout=DEFAULT_TIMEOUT)
 Constructor for asynFloat64Client class.
virtual ~asynFloat64Client ()
 Destructor for asynFloat64Client class.
virtual asynStatus read (epicsFloat64 *value)
 Reads an epicsFloat64 value from the port driver.
virtual asynStatus write (epicsFloat64 value)
 Writes an epicsFloat64 value to the port driver.
virtual asynStatus registerInterruptUser (interruptCallbackFloat64 pCallback)
 Registers an interruptCallbackFloat64 function that the driver will call when there is a new value.

Detailed Description

Class for asyn port clients to communicate on the asynFloat64 interface.


Constructor & Destructor Documentation

asynFloat64Client::asynFloat64Client ( const char *  portName,
int  addr,
const char *  drvInfo,
double  timeout = DEFAULT_TIMEOUT 
) [inline]

Constructor for asynFloat64Client class.

Parameters:
[in]portNameThe name of the asyn port to connect to
[in]addrThe address on the asyn port to connect to
[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
virtual asynFloat64Client::~asynFloat64Client ( ) [inline, virtual]

Destructor for asynFloat64Client class.

Disconnects from port, frees resources.


Member Function Documentation

virtual asynStatus asynFloat64Client::read ( epicsFloat64 *  value) [inline, virtual]

Reads an epicsFloat64 value from the port driver.

Parameters:
[out]valueThe value read from the port driver
virtual asynStatus asynFloat64Client::registerInterruptUser ( interruptCallbackFloat64  pCallback) [inline, virtual]

Registers an interruptCallbackFloat64 function that the driver will call when there is a new value.

Parameters:
[in]pCallbackThe address of the callback function
virtual asynStatus asynFloat64Client::write ( epicsFloat64  value) [inline, virtual]

Writes an epicsFloat64 value to the port driver.

Parameters:
[in]valueThe value to write to the port driver

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