BoapMcComms Class Reference

#include <BoapMc.h>

List of all members.

Public Member Functions

 BoapMcComms ()
virtual ~BoapMcComms ()
void setComms (BComms &comms)
 Sets the communications interface to use.
void setAddress (BUInt8 addressTo, BUInt8 addressFrom)
 Sets the to and from addresses.
virtual BError process ()
 Check and process any received packets.
virtual BError processPacket (BoapMcPacket &rx, BoapMcPacket &tx)
 Process a recieved packet.

Protected Member Functions

BError performCall ()
 Performs a RPC call to the service.
BError performSend ()
 Performs a send.
BError performRecv (BUInt8 cmd=0)
 Performs a receive.

Protected Attributes

BCommsocomms
BUInt32 oapiVersion
BUInt8 oaddressTo
BUInt8 oaddressFrom
BoapMcPacket opacketTx
BoapMcPacket opacketRx


Constructor & Destructor Documentation

BoapMcComms::BoapMcComms (  ) 

BoapMcComms::~BoapMcComms (  )  [virtual]


Member Function Documentation

BError BoapMcComms::performCall (  )  [protected]

Performs a RPC call to the service.

BError BoapMcComms::performRecv ( BUInt8  cmd = 0  )  [protected]

Performs a receive.

BError BoapMcComms::performSend (  )  [protected]

Performs a send.

BError BoapMcComms::process (  )  [virtual]

Check and process any received packets.

BError BoapMcComms::processPacket ( BoapMcPacket rx,
BoapMcPacket tx 
) [virtual]

Process a recieved packet.

void BoapMcComms::setAddress ( BUInt8  addressTo,
BUInt8  addressFrom 
)

Sets the to and from addresses.

void BoapMcComms::setComms ( BComms comms  ) 

Sets the communications interface to use.


Member Data Documentation

BUInt8 BoapMcComms::oaddressFrom [protected]

BUInt8 BoapMcComms::oaddressTo [protected]

BUInt32 BoapMcComms::oapiVersion [protected]

BComms* BoapMcComms::ocomms [protected]

BoapMcPacket BoapMcComms::opacketRx [protected]

BoapMcPacket BoapMcComms::opacketTx [protected]


The documentation for this class was generated from the following files:
Generated on 20 Oct 2015 for LibBeamApi by  doxygen 1.4.7