Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
dcc::PacketProcessor Class Referenceabstract

Abstract class that is used as a plugin in the DCC decoder. More...

#include <PacketProcessor.hxx>

Public Member Functions

virtual void packet_arrived (const DCCPacket *pkt, RailcomDriver *railcom)=0
 Called in an OS interrupt with the arrived packet.
 

Detailed Description

Abstract class that is used as a plugin in the DCC decoder.

The application logic can implement this class and it will be called from the interrupt. This is necessary to correctly generate the RailCom feedback to be sent back.

Definition at line 46 of file PacketProcessor.hxx.


The documentation for this class was generated from the following file: