|
Open Model Railroad Network (OpenMRN)
|
Interface class for CANbus-based protocols. More...
#include <CanIf.hxx>
Public Types | |
| typedef DispatchFlow< Buffer< CanMessageData >, 4 > | FrameDispatchFlow |
| Type of the dispatcher responsible for routing incoming frames to the frome handlers. | |
Public Member Functions | |
| CanIf (Service *service, CanHubFlow *device) | |
| Constructor. | |
| Service * | service () |
| FrameDispatchFlow * | frame_dispatcher () |
| OutgoingFrameHandler * | frame_write_flow () |
| OutgoingFrameHandler * | loopback_frame_write_flow () |
Private Member Functions | |
| CanHubPortInterface * | hub_port () |
| CanHubFlow * | device () |
Private Attributes | |
| CanHubFlow * | device_ |
| The device we need to send packets to. | |
| CanFrameWriteFlow | frameWriteFlow_ |
| Flow responsible for writing packets to the CAN hub. | |
| CanFrameReadFlow | frameReadFlow_ |
| Flow responsible for translating from CAN hub packets to dispatcher packets. | |
| FrameDispatchFlow | frameDispatcher_ |
| Flow responsible for routing incoming messages to handlers. | |
Friends | |
| class | CanFrameWriteFlow |
Interface class for CANbus-based protocols.
Contains a dispatcher for incoming CANbus messages, and a queue for outgoing messages.
| typedef DispatchFlow<Buffer<CanMessageData>, 4> CanIf::FrameDispatchFlow |
| CanIf::CanIf | ( | Service * | service, |
| CanHubFlow * | device | ||
| ) |
|
inlineprivate |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
friend |
|
private |
|
private |
|
private |
|
private |