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

Public Member Functions

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

Public Attributes

HubFlow tcpHub_
 This flow is the connection between the stack and the device drivers.
 
IfTcp ifTcp_
 Implementation of OpenLCB interface.
 
TcpDatagramService datagramService_
 Datagram service (and clients) matching the interface.
 

Detailed Description

Definition at line 559 of file SimpleStack.hxx.

Constructor & Destructor Documentation

◆ TcpPhysicalIf()

openlcb::SimpleTcpStackBase::TcpPhysicalIf::TcpPhysicalIf ( const openlcb::NodeID  node_id,
Service service 
)
inline

Definition at line 562 of file SimpleStack.hxx.

◆ ~TcpPhysicalIf()

openlcb::SimpleTcpStackBase::TcpPhysicalIf::~TcpPhysicalIf ( )
inline

Definition at line 570 of file SimpleStack.hxx.

Member Function Documentation

◆ datagram_service()

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

Implements openlcb::SimpleStackBase::PhysicalIf.

Definition at line 581 of file SimpleStack.hxx.

◆ iface()

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

Implements openlcb::SimpleStackBase::PhysicalIf.

Definition at line 575 of file SimpleStack.hxx.

Member Data Documentation

◆ datagramService_

TcpDatagramService openlcb::SimpleTcpStackBase::TcpPhysicalIf::datagramService_

Datagram service (and clients) matching the interface.

Definition at line 591 of file SimpleStack.hxx.

◆ ifTcp_

IfTcp openlcb::SimpleTcpStackBase::TcpPhysicalIf::ifTcp_

Implementation of OpenLCB interface.

Definition at line 589 of file SimpleStack.hxx.

◆ tcpHub_

HubFlow openlcb::SimpleTcpStackBase::TcpPhysicalIf::tcpHub_

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

Definition at line 587 of file SimpleStack.hxx.


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