w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Retro::Rw11VirtEthTap Class Reference

FIXME_docs. More...

#include <Rw11VirtEthTap.hpp>

Inheritance diagram for Retro::Rw11VirtEthTap:
[legend]
Collaboration diagram for Retro::Rw11VirtEthTap:
[legend]

Public Member Functions

 Rw11VirtEthTap (Rw11Unit *punit)
 Default constructor.
 
 ~Rw11VirtEthTap ()
 Destructor.
 
virtual bool Open (const std::string &url, RerrMsg &emsg)
 FIXME_docs.
 
virtual bool Snd (const RethBuf &ebuf, RerrMsg &emsg)
 FIXME_docs.
 
virtual void Dump (std::ostream &os, int ind=0, const char *text=0, int detail=0) const
 FIXME_docs.
 
- Public Member Functions inherited from Retro::Rw11VirtEth
 Rw11VirtEth (Rw11Unit *punit)
 Default constructor.
 
 ~Rw11VirtEth ()
 Destructor.
 
virtual const std::string & ChannelId () const
 FIXME_docs.
 
void SetupRcvCallback (rcvcbfo_t &&rcvcbfo)
 FIXME_docs.
 
virtual bool Snd (const RethBuf &ebuf, RerrMsg &emsg)=0
 
virtual void Dump (std::ostream &os, int ind=0, const char *text=0, int detail=0) const
 FIXME_docs.
 
- Public Member Functions inherited from Retro::Rw11Virt
 Rw11Virt (Rw11Unit *punit)
 Default constructor.
 
virtual ~Rw11Virt ()
 Destructor.
 
 Rw11Virt (const Rw11Virt &)=delete
 
Rw11Virtoperator= (const Rw11Virt &)=delete
 
Rw11UnitUnit () const
 FIXME_docs.
 
Rw11CntlCntl () const
 FIXME_docs.
 
Rw11CpuCpu () const
 FIXME_docs.
 
Rw11W11 () const
 FIXME_docs.
 
RlinkServerServer () const
 FIXME_docs.
 
RlogFileLogFile () const
 FIXME_docs.
 
virtual bool WProt () const
 FIXME_docs.
 
const RparseUrlUrl () const
 FIXME_docs.
 
virtual bool Open (const std::string &url, RerrMsg &emsg)=0
 
RstatsStats ()
 FIXME_docs.
 
virtual void Dump (std::ostream &os, int ind=0, const char *text=0, int detail=0) const
 FIXME_docs.
 

Protected Member Functions

int RcvPollHandler (const pollfd &pfd)
 FIXME_docs.
 

Protected Attributes

int fFd
 fd for pty master side
 
- Protected Attributes inherited from Retro::Rw11VirtEth
std::string fChannelId
 channel id
 
rcvcbfo_t fRcvCb
 receive callback fobj
 
- Protected Attributes inherited from Retro::Rw11Virt
Rw11UnitfpUnit
 back ref to unit
 
RparseUrl fUrl
 
bool fWProt
 write protected
 
Rstats fStats
 statistics
 

Additional Inherited Members

- Public Types inherited from Retro::Rw11VirtEth
enum  stats {
  kStatNVTRcvPoll = Rw11Virt::kDimStat , kStatNVTSnd , kStatNVTRcvByt , kStatNVTSndByt ,
  kDimStat
}
 
typedef std::function< bool(std::shared_ptr< RethBuf > &)> rcvcbfo_t
 
- Public Types inherited from Retro::Rw11Virt
enum  stats { kDimStat = 0 }
 
- Static Public Member Functions inherited from Retro::Rw11VirtEth
static std::unique_ptr< Rw11VirtEthNew (const std::string &url, Rw11Unit *punit, RerrMsg &emsg)
 FIXME_docs.
 

Detailed Description

FIXME_docs.

Definition at line 25 of file Rw11VirtEthTap.hpp.

Constructor & Destructor Documentation

◆ Rw11VirtEthTap()

Retro::Rw11VirtEthTap::Rw11VirtEthTap ( Rw11Unit punit)
explicit

Default constructor.

Definition at line 52 of file Rw11VirtEthTap.cpp.

◆ ~Rw11VirtEthTap()

Retro::Rw11VirtEthTap::~Rw11VirtEthTap ( )

Member Function Documentation

◆ Open()

bool Retro::Rw11VirtEthTap::Open ( const std::string &  url,
RerrMsg emsg 
)
virtual

◆ Snd()

bool Retro::Rw11VirtEthTap::Snd ( const RethBuf ebuf,
RerrMsg emsg 
)
virtual

◆ Dump()

void Retro::Rw11VirtEthTap::Dump ( std::ostream &  os,
int  ind = 0,
const char *  text = 0,
int  detail = 0 
) const
virtual

FIXME_docs.

Reimplemented from Retro::Rw11VirtEth.

Definition at line 146 of file Rw11VirtEthTap.cpp.

References Retro::Rw11VirtEth::Dump(), and fFd.

◆ RcvPollHandler()

int Retro::Rw11VirtEthTap::RcvPollHandler ( const pollfd &  pfd)
protected

Member Data Documentation

◆ fFd

int Retro::Rw11VirtEthTap::fFd
protected

fd for pty master side

Definition at line 42 of file Rw11VirtEthTap.hpp.

Referenced by Dump(), Open(), RcvPollHandler(), Snd(), and ~Rw11VirtEthTap().


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