LibBeamApi  1.3.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
BoapMcComms Class Reference

#include <BoapMc.h>

Public Member Functions

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

Protected Member Functions

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

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: