Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
openlcb::SimpleStackBase::PhysicalIf Class Referenceabstract

Polymorphic class that can be implemented by CAN and TCP interfaces separately for appropriate construction order. More...

#include <SimpleStack.hxx>

Inheritance diagram for openlcb::SimpleStackBase::PhysicalIf:
openlcb::SimpleCanStackBase::CanPhysicalIf openlcb::SimpleTcpStackBase::TcpPhysicalIf

Public Member Functions

virtual Ififace ()=0
 
virtual DatagramServicedatagram_service ()=0
 

Detailed Description

Polymorphic class that can be implemented by CAN and TCP interfaces separately for appropriate construction order.

Definition at line 90 of file SimpleStack.hxx.

Constructor & Destructor Documentation

◆ ~PhysicalIf()

virtual openlcb::SimpleStackBase::PhysicalIf::~PhysicalIf ( )
inlinevirtual

Definition at line 93 of file SimpleStack.hxx.

Member Function Documentation

◆ datagram_service()

virtual DatagramService * openlcb::SimpleStackBase::PhysicalIf::datagram_service ( )
pure virtual
Returns
the Datagram service bound to the interface. Ownership is not transferred.

Implemented in openlcb::SimpleCanStackBase::CanPhysicalIf, and openlcb::SimpleTcpStackBase::TcpPhysicalIf.

◆ iface()

virtual If * openlcb::SimpleStackBase::PhysicalIf::iface ( )
pure virtual
Returns
the OpenLCB interface object. Ownership is not transferred.

Implemented in openlcb::SimpleCanStackBase::CanPhysicalIf, and openlcb::SimpleTcpStackBase::TcpPhysicalIf.


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