10 #ifndef camLinkSerial_H 11 #define camLinkSerial_H 33 camLinkSerial(
const char *portName,
const char *comportname,
int maxAddr,
34 int interfaceMask,
int interruptMask,
int asynFlags,
35 int autoConnect,
int priority,
int stackSize);
39 size_t maxChars,
size_t *nActual,
42 size_t maxChars,
size_t *nActual);
43 virtual asynStatus
flushOctet(asynUser *pasynUser);
45 virtual void report(FILE *fp,
int details);
46 void optionsToSerial(
void);
48 virtual asynStatus
readOption(asynUser *pasynUser,
const char *key,
49 char *
value,
int maxChars);
50 virtual asynStatus
writeOption(asynUser *pasynUser,
const char *key,
62 #define FIRST_CLS_PARAM clser_first 67 #define LAST_CLS_PARAM clser_last 76 #define NUM_CLS_PARAMS (&LAST_CLS_PARAM - &FIRST_CLS_PARAM + 1)
comportInterface * serial_port
Definition: camLinkSerial.h:57
Base class for asyn port drivers; handles most of the bookkeeping for writing an asyn port driver wit...
Definition: asynPortDriver.h:41
asyn Driver for Serial port on Camera Link grabber.
Definition: camLinkSerial.h:31
Interface to a com port, on a grabber.
Definition: comportInterface.h:24
int clser_last
Definition: camLinkSerial.h:66
list value
Definition: makeDbAndEdl.py:234
virtual asynStatus flushOctet(asynUser *pasynUser)
Called when asyn clients call pasynOctet->flush().
Definition: asynPortDriver.cpp:2235
virtual void report(FILE *fp, int details)
Reports on status of the driver.
Definition: asynPortDriver.cpp:3035
int clser_first
Definition: camLinkSerial.h:61
virtual asynStatus writeOption(asynUser *pasynUser, const char *key, const char *value)
Called when asyn clients call pasynOption->write().
Definition: asynPortDriver.cpp:2813
virtual asynStatus readOption(asynUser *pasynUser, const char *key, char *value, int maxChars)
Called when asyn clients call pasynOption->read().
Definition: asynPortDriver.cpp:2789
Class LOG_FILE.
Definition: logfile.h:38
int clser_portname
Definition: camLinkSerial.h:64
virtual asynStatus writeOctet(asynUser *pasynUser, const char *value, size_t maxChars, size_t *nActual)
Called when asyn clients call pasynOctet->write().
Definition: asynPortDriver.cpp:2188
std::map< std::string, std::string > option_pairs
Definition: camLinkSerial.h:55
virtual asynStatus readOctet(asynUser *pasynUser, char *value, size_t maxChars, size_t *nActual, int *eomReason)
Called when asyn clients call pasynOctet->read().
Definition: asynPortDriver.cpp:2134
log_file lf
Definition: camLinkSerial.h:73