Account
LibTmsApi 2.3.0 |
BComms Class Referenceabstract
#include <BComms.h>
Public Types | |
enum | Wait { WaitNone = 0x00 , WaitRead = 0x01 , WaitWrite = 0x02 , WaitError = 0x04 } |
Public Member Functions | |
BComms () | |
virtual | ~BComms () |
virtual BError | init () |
virtual BError | setPacketMode (Bool packetMode) |
Set packet mode. | |
virtual Bool | packetMode () |
Device is in packet mode. | |
virtual BError | setTimeout (BInt timeoutMs) |
Set communication timeout. | |
virtual BUInt | writeAvailable () |
virtual BError | write (const void *data, BUInt32 nBytes, BUInt32 &nTrans)=0 |
virtual BUInt | readAvailable () |
virtual BError | read (void *data, BUInt32 num, BUInt32 &nTrans)=0 |
virtual BError | wait (BUInt8 events, BInt timeout=-1, BUInt32 num=1) |
virtual void | eventQueue (BEventQueue *eventQueue, BInt32 event, BUInt num=1) |
Protected Attributes | |
Bool | opacketMode |
BInt32 | otimeout |
BEventQueue * | oeventQueue |
BInt32 | oevent |
BUInt | oeventNum |
Member Enumeration Documentation
◆ Wait
enum BComms::Wait |
Constructor & Destructor Documentation
◆ BComms()
BComms::BComms | ( | ) |
◆ ~BComms()
| virtual |
Member Function Documentation
◆ eventQueue()
| virtual |
◆ init()
| virtual |
◆ packetMode()
| virtual |
Device is in packet mode.
◆ read()
◆ readAvailable()
| virtual |
◆ setPacketMode()
◆ setTimeout()
◆ wait()
◆ write()
◆ writeAvailable()
| virtual |
Member Data Documentation
◆ oevent
| protected |
◆ oeventNum
| protected |
◆ oeventQueue
| protected |
◆ opacketMode
| protected |
◆ otimeout
| protected |
The documentation for this class was generated from the following files:
- /src/cern/tms/tms/beam/libBeam/BComms.h
- /src/cern/tms/tms/beam/libBeam/BComms.cpp
Generated by 1.9.7