Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
openlcb::SimpleCanStackBase::CanPhysicalIf Class Reference
Inheritance diagram for openlcb::SimpleCanStackBase::CanPhysicalIf:
openlcb::SimpleStackBase::PhysicalIf

Public Member Functions

 CanPhysicalIf (const openlcb::NodeID node_id, Service *service)
 
Ififace () override
 
DatagramServicedatagram_service () override
 

Public Attributes

CanHubFlow canHub0_
 This flow is the connection between the stack and the device drivers.
 
IfCan ifCan_
 Implementation of OpenLCB interface.
 
CanDatagramService datagramService_
 Datagram service (and clients) matching the interface.
 

Detailed Description

Definition at line 473 of file SimpleStack.hxx.

Constructor & Destructor Documentation

◆ CanPhysicalIf()

openlcb::SimpleCanStackBase::CanPhysicalIf::CanPhysicalIf ( const openlcb::NodeID  node_id,
Service service 
)
inline

Definition at line 476 of file SimpleStack.hxx.

◆ ~CanPhysicalIf()

openlcb::SimpleCanStackBase::CanPhysicalIf::~CanPhysicalIf ( )
inline

Definition at line 487 of file SimpleStack.hxx.

Member Function Documentation

◆ datagram_service()

DatagramService * openlcb::SimpleCanStackBase::CanPhysicalIf::datagram_service ( )
inlineoverridevirtual
Returns
the Datagram service bound to the interface. Ownership is not transferred.

Implements openlcb::SimpleStackBase::PhysicalIf.

Definition at line 498 of file SimpleStack.hxx.

◆ iface()

If * openlcb::SimpleCanStackBase::CanPhysicalIf::iface ( )
inlineoverridevirtual
Returns
the OpenLCB interface object. Ownership is not transferred.

Implements openlcb::SimpleStackBase::PhysicalIf.

Definition at line 492 of file SimpleStack.hxx.

Member Data Documentation

◆ canHub0_

CanHubFlow openlcb::SimpleCanStackBase::CanPhysicalIf::canHub0_

This flow is the connection between the stack and the device drivers.

It also acts as a hub to multiple different clients or CAN ports.

Definition at line 505 of file SimpleStack.hxx.

◆ datagramService_

CanDatagramService openlcb::SimpleCanStackBase::CanPhysicalIf::datagramService_

Datagram service (and clients) matching the interface.

Definition at line 509 of file SimpleStack.hxx.

◆ ifCan_

IfCan openlcb::SimpleCanStackBase::CanPhysicalIf::ifCan_

Implementation of OpenLCB interface.

Definition at line 507 of file SimpleStack.hxx.


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