Open Model Railroad Network (OpenMRN)
Loading...
Searching...
No Matches
FdHubPortInterface Class Reference

Shared base class for thread-based and select-based hub devices. More...

#include <Hub.hxx>

Inheritance diagram for FdHubPortInterface:
Destructable FdHubPortBase FdHubPortService FdHubPort< HFlow > HubDeviceSelect< HFlow, ReadFlow >

Public Member Functions

int fd ()
 

Protected Member Functions

 FdHubPortInterface (int fd)
 

Protected Attributes

int fd_ {-1}
 The device file descriptor.
 

Detailed Description

Shared base class for thread-based and select-based hub devices.

Definition at line 219 of file Hub.hxx.

Constructor & Destructor Documentation

◆ FdHubPortInterface() [1/2]

FdHubPortInterface::FdHubPortInterface ( )
inlineprotected

Definition at line 228 of file Hub.hxx.

◆ FdHubPortInterface() [2/2]

FdHubPortInterface::FdHubPortInterface ( int  fd)
inlineprotected

Definition at line 230 of file Hub.hxx.

Member Function Documentation

◆ fd()

int FdHubPortInterface::fd ( )
inline
Returns
the filedes to read/write.

Definition at line 222 of file Hub.hxx.

Member Data Documentation

◆ fd_

int FdHubPortInterface::fd_ {-1}
protected

The device file descriptor.

Definition at line 233 of file Hub.hxx.


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