#include <CommsSerial.h>
|
| CommsSerial () |
|
| ~CommsSerial () |
|
BError | connect (BString device) |
|
BError | disconnect () |
|
BUInt | readAvailable () |
|
BError | read (void *data, BUInt32 num, BUInt32 &nTrans) |
|
BError | write (const void *data, BUInt32 num, BUInt32 &nTrans) |
|
BError | wait (BUInt32 eventSet, BTimeout timeout=-1, BUInt32 num=1) |
|
| BComms () |
|
virtual | ~BComms () |
|
virtual BError | init () |
|
virtual BError | setPacketMode (Bool packetMode) |
|
virtual Bool | packetMode () |
|
virtual BError | setTimeout (BTimeout timeoutUs) |
|
virtual BError | connect (const char *resource) |
|
virtual Bool | isConnected () |
|
virtual void | flush (Flush flush) |
|
virtual BUInt | writeAvailable () |
|
virtual BError | writeChunks (const BDataChunk *chunks, BUInt nChunks, BUInt32 &nTrans) |
|
virtual BError | wait (BEventWaitSet events, BTimeout timeoutUs=BTimeoutForever, BUInt32 num=1) |
|
virtual void | eventQueue (BEventQueue *eventQueue, BInt32 event, BUInt num=1) |
|
◆ CommsSerial()
BMeasureApi::CommsSerial::CommsSerial | ( | | ) | |
◆ ~CommsSerial()
BMeasureApi::CommsSerial::~CommsSerial | ( | | ) | |
◆ connect()
◆ disconnect()
BError BMeasureApi::CommsSerial::disconnect | ( | | ) | | | virtual |
◆ read()
◆ readAvailable()
BUInt BMeasureApi::CommsSerial::readAvailable | ( | | ) | | | virtual |
◆ wait()
◆ write()
◆ odevice
BString BMeasureApi::CommsSerial::odevice | | private |
◆ oserialPort
int BMeasureApi::CommsSerial::oserialPort | | private |
The documentation for this class was generated from the following file: