Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
PacketProcessor.hxx
Go to the documentation of this file.
1
35#include "dcc/packet.h"
36
37class RailcomDriver;
38
39namespace dcc
40{
41
47{
48public:
50 virtual void packet_arrived(
51 const DCCPacket *pkt, RailcomDriver *railcom) = 0;
52};
53
54} // namespace dcc
Abstract base class for railcom drivers.
Abstract class that is used as a plugin in the DCC decoder.
virtual void packet_arrived(const DCCPacket *pkt, RailcomDriver *railcom)=0
Called in an OS interrupt with the arrived packet.
Stores a DCC packet in memory.
Definition packet.h:55