8 #ifdef DATABUF_H_INC_LEVEL2 9 #ifdef epicsExportSharedSymbols 10 #define DATABUFL2_epicsExportSharedSymbols 11 #undef epicsExportSharedSymbols 20 #include <epicsTypes.h> 21 #include <epicsTime.h> 32 epicsUInt32 len,
const epicsUInt8* buf);
43 virtual bool dataTxEnabled()
const=0;
44 virtual void dataTxEnable(
bool)=0;
47 virtual bool dataRTS()
const=0;
49 virtual epicsUInt32 lenMax()
const=0;
56 virtual void dataSend(epicsUInt32 len,
const epicsUInt8 *buf)=0;
68 virtual bool dataRxEnabled()
const=0;
69 virtual void dataRxEnable(
bool)=0;
93 #endif // DATABUF_H_INC 95 #ifdef DATABUFL2_epicsExportSharedSymbols 96 #undef DATABUF_H_INC_LEVEL2 97 #define epicsExportSharedSymbols dataBufTx(const std::string &n)
User implementation hook.
dataBufRx(const std::string &n)
void(* dataBufComplete)(void *arg, epicsStatus ok, epicsUInt32 len, const epicsUInt8 *buf)