|
Open Model Railroad Network (OpenMRN)
|
Create this port for a CAN hub and all packets will be written to stdout in gridconnect format. More...
#include <GridConnectHub.hxx>
Classes | |
| struct | Impl |
| Implementation for the gridconnect bridge. More... | |
Public Member Functions | |
| GcPacketPrinter (CanHubFlow *can_hub, bool timestamped) | |
| constructor | |
Private Attributes | |
| std::unique_ptr< Impl > | impl_ |
| pImpl object. | |
Create this port for a CAN hub and all packets will be written to stdout in gridconnect format.
Definition at line 108 of file GridConnectHub.hxx.
| GcPacketPrinter::GcPacketPrinter | ( | CanHubFlow * | can_hub, |
| bool | timestamped | ||
| ) |
constructor
| can_hub | Which hub's packets to write to stdout. |
| timestamped | Whether to put timestamps on the packets written. |
Definition at line 428 of file GridConnectHub.cxx.
| GcPacketPrinter::~GcPacketPrinter | ( | ) |
Definition at line 432 of file GridConnectHub.cxx.
|
private |
pImpl object.
Definition at line 122 of file GridConnectHub.hxx.