|
Open Model Railroad Network (OpenMRN)
|
CAN-specific implementation of the stream transport interface. More...
#include <StreamTransport.hxx>
Public Member Functions | |
| StreamTransportCan (IfCan *iface, unsigned num_senders) | |
| Constructor. | |
| ~StreamTransportCan () | |
| Destructor. | |
Public Member Functions inherited from openlcb::StreamTransport | |
| StreamTransport (If *iface) | |
| Constructor. | |
| ~StreamTransport () | |
| Destructor. | |
| uint8_t | get_send_stream_id () |
| void | release_send_stream_id (uint8_t stream_id) |
| TypedQAsync< StreamSender > * | sender_allocator () |
| Stream sender flows. | |
| uint8_t | get_next_stream_receive_id () |
Additional Inherited Members | |
Protected Attributes inherited from openlcb::StreamTransport | |
| TypedQAsync< StreamSender > | senders_ |
| Stream Sender objects. | |
| uint8_t | nextReceiveStreamId_ {0x50} |
| Stream ID to be given out to the next stream receiver that we create. | |
CAN-specific implementation of the stream transport interface.
Definition at line 127 of file StreamTransport.hxx.
| openlcb::StreamTransportCan::StreamTransportCan | ( | IfCan * | iface, |
| unsigned | num_senders | ||
| ) |
Constructor.
| iface | OPenLCB-CAN interface object pointer. |
| num_senders | How many stream senders to instantiate. |
Definition at line 53 of file StreamTransport.cxx.
| openlcb::StreamTransportCan::~StreamTransportCan | ( | ) |
Destructor.
Definition at line 62 of file StreamTransport.cxx.