w11 - cpp 0.794
Backend server for Rlink and w11
|
FIXME_docs. More...
#include <Rfd.hpp>
Public Member Functions | |
Rfd () | |
FIXME_docs. | |
Rfd (Rfd &&rhs) | |
FIXME_docs. | |
Rfd (const char *cnam) | |
FIXME_docs. | |
virtual | ~Rfd () |
FIXME_docs. | |
Rfd (const Rfd &)=delete | |
Rfd & | operator= (const Rfd &)=delete |
bool | SetFd (int fd) |
FIXME_docs. | |
int | Fd () const |
FIXME_docs. | |
bool | IsOpen () const |
FIXME_docs. | |
bool | IsOpenNonStd () const |
FIXME_docs. | |
void | Close () |
FIXME_docs. | |
bool | Close (RerrMsg &emsg) |
FIXME_docs. | |
void | CloseOrCerr () |
FIXME_docs. | |
operator bool () const | |
FIXME_docs. | |
Protected Attributes | |
int | fFd |
std::string | fCnam |
|
virtual |
|
delete |
bool Retro::Rfd::SetFd | ( | int | fd | ) |
|
inline |
FIXME_docs.
Definition at line 20 of file Rfd.ipp.
References fFd.
Referenced by Retro::RlinkServer::Dump(), Retro::Rw11CntlDEUNA::Dump(), Retro::Rw11VirtDiskFile::Dump(), Retro::Rw11VirtTapeTap::Dump(), Retro::RlinkServer::RlinkServer(), and Retro::Rw11CntlDEUNA::SetRunning().
|
inline |
FIXME_docs.
Definition at line 28 of file Rfd.ipp.
References fFd.
Referenced by Retro::RtimerFd::Cancel(), Close(), Retro::RtimerFd::Open(), Retro::RfileFd::Open(), Retro::RtimerFd::Read(), SetFd(), Retro::RtimerFd::SetRelative(), Retro::Rw11CntlDEUNA::SetRunning(), and ~Rfd().
|
inline |
void Retro::Rfd::Close | ( | ) |
FIXME_docs.
Definition at line 82 of file Rfd.cpp.
References fFd, and IsOpenNonStd().
Referenced by CloseOrCerr(), Retro::RfileFd::Open(), Retro::Rw11VirtDiskFile::Open(), and Retro::Rw11VirtTapeTap::Open().
bool Retro::Rfd::Close | ( | RerrMsg & | emsg | ) |
FIXME_docs.
Definition at line 94 of file Rfd.cpp.
References fCnam, fFd, Retro::RerrMsg::Init(), Retro::RerrMsg::InitErrno(), IsOpen(), and IsOpenNonStd().
void Retro::Rfd::CloseOrCerr | ( | ) |
FIXME_docs.
Definition at line 118 of file Rfd.cpp.
References Close(), Retro::RerrMsg::Meth(), and Retro::RerrMsg::Text().
Referenced by ~Rfd().
|
inlineexplicit |
|
protected |
Definition at line 48 of file Rfd.hpp.
Referenced by Retro::RtimerFd::Cancel(), Close(), Fd(), IsOpen(), IsOpenNonStd(), Retro::RtimerFd::Open(), Retro::RtimerFd::Read(), Retro::RfileFd::Read(), Retro::ReventFd::ReventFd(), Retro::RfileFd::Seek(), SetFd(), Retro::RtimerFd::SetRelative(), Retro::ReventFd::Signal(), Retro::RfileFd::Stat(), Retro::RfileFd::Truncate(), Retro::ReventFd::Wait(), and Retro::RfileFd::WriteAll().
|
protected |
Definition at line 49 of file Rfd.hpp.
Referenced by Retro::RtimerFd::Cancel(), Close(), Retro::RtimerFd::Open(), Retro::RfileFd::Open(), Retro::RtimerFd::Read(), Retro::RfileFd::Read(), Retro::ReventFd::ReventFd(), Retro::RfileFd::Seek(), SetFd(), Retro::RtimerFd::SetRelative(), Retro::ReventFd::Signal(), Retro::RfileFd::Stat(), Retro::RfileFd::Truncate(), and Retro::ReventFd::Wait().