w11 - cpp 0.794
Backend server for Rlink and w11
|
FIXME_docs. More...
#include <RtimerFd.hpp>
Public Member Functions | |
RtimerFd () | |
FIXME_docs. | |
RtimerFd (const char *cnam) | |
FIXME_docs. | |
RtimerFd (const RtimerFd &)=delete | |
RtimerFd & | operator= (const RtimerFd &)=delete |
void | Open (clockid_t clkid=CLOCK_MONOTONIC) |
FIXME_docs. | |
void | SetRelative (const Rtime &dt) |
FIXME_docs. | |
void | SetRelative (double dt) |
FIXME_docs. | |
void | Cancel () |
FIXME_docs. | |
uint64_t | Read () |
FIXME_docs. | |
Public Member Functions inherited from Retro::Rfd | |
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. | |
Additional Inherited Members | |
Protected Attributes inherited from Retro::Rfd | |
int | fFd |
std::string | fCnam |
FIXME_docs.
Definition at line 29 of file RtimerFd.hpp.
Retro::RtimerFd::RtimerFd | ( | ) |
FIXME_docs.
Definition at line 37 of file RtimerFd.cpp.
|
explicit |
FIXME_docs.
Definition at line 44 of file RtimerFd.cpp.
|
delete |
void Retro::RtimerFd::Open | ( | clockid_t | clkid = CLOCK_MONOTONIC | ) |
FIXME_docs.
Definition at line 51 of file RtimerFd.cpp.
References Retro::Rfd::fCnam, Retro::Rfd::fFd, and Retro::Rfd::IsOpen().
Referenced by Retro::Rw11CntlDEUNA::SetRunning().
void Retro::RtimerFd::SetRelative | ( | const Rtime & | dt | ) |
FIXME_docs.
Definition at line 65 of file RtimerFd.cpp.
References Retro::Rfd::fCnam, Retro::Rfd::fFd, Retro::Rfd::IsOpen(), Retro::Rtime::NSec(), Retro::Rtime::Sec(), and Retro::Rtime::Timespec().
Referenced by Retro::Rw11CntlDEUNA::RxRingHandler(), and SetRelative().
|
inline |
void Retro::RtimerFd::Cancel | ( | ) |
FIXME_docs.
Definition at line 87 of file RtimerFd.cpp.
References Retro::Rfd::fCnam, Retro::Rfd::fFd, and Retro::Rfd::IsOpen().
Referenced by Retro::Rw11CntlDEUNA::StopRxRing().
uint64_t Retro::RtimerFd::Read | ( | ) |
FIXME_docs.
Definition at line 114 of file RtimerFd.cpp.
References Retro::Rfd::fCnam, Retro::Rfd::fFd, and Retro::Rfd::IsOpen().
Referenced by Retro::Rw11CntlDEUNA::RxPollHandler().