w11 - cpp 0.794
Backend server for Rlink and w11
|
FIXME_docs. More...
Functions | |
std::string | Flags2String (uint32_t flags, const RflagName *fnam, char delim) |
FIXME_docs. | |
bool | String2Long (const std::string &str, long &res, RerrMsg &emsg, int base) |
FIXME_docs. | |
bool | String2Long (const std::string &str, unsigned long &res, RerrMsg &emsg, int base) |
FIXME_docs. | |
bool | CreateBackupFile (const std::string &fname, size_t nbackup, RerrMsg &emsg) |
FIXME_docs. | |
bool | CreateBackupFile (const RparseUrl &purl, RerrMsg &emsg) |
FIXME_docs. | |
void | Catch2Cerr (const char *msg, std::function< void()> func) |
FIXME_docs. | |
void | Word2Bytes (uint16_t word, uint16_t &byte0, uint16_t &byte1) |
FIXME_docs. | |
uint16_t | Bytes2Word (uint16_t byte0, uint16_t byte1) |
FIXME_docs. | |
FIXME_docs.
std::string Retro::Rtools::Flags2String | ( | uint32_t | flags, |
const RflagName * | fnam, | ||
char | delim | ||
) |
FIXME_docs.
Definition at line 48 of file Rtools.cpp.
References Retro::RflagName::mask, and Retro::RflagName::name.
Referenced by Retro::RlinkCommand::Dump(), and Retro::RlinkCommand::Print().
bool Retro::Rtools::String2Long | ( | const std::string & | str, |
long & | res, | ||
RerrMsg & | emsg, | ||
int | base | ||
) |
FIXME_docs.
Definition at line 67 of file Rtools.cpp.
References Retro::RerrMsg::Init().
Referenced by CreateBackupFile(), Retro::RlinkPortCuff::Open(), Retro::Rw11VirtTapeTap::Open(), Retro::Rw11VirtTermTcp::Open(), and Retro::RethTools::String2Mac().
bool Retro::Rtools::String2Long | ( | const std::string & | str, |
unsigned long & | res, | ||
RerrMsg & | emsg, | ||
int | base | ||
) |
bool Retro::Rtools::CreateBackupFile | ( | const std::string & | fname, |
size_t | nbackup, | ||
RerrMsg & | emsg | ||
) |
FIXME_docs.
Definition at line 98 of file Rtools.cpp.
References Retro::RerrMsg::Init(), and Retro::RerrMsg::InitErrno().
Referenced by CreateBackupFile(), Retro::Rw11VirtStream::Open(), and Retro::Rw11UnitTerm::SetLog().
FIXME_docs.
Definition at line 154 of file Rtools.cpp.
References CreateBackupFile(), Retro::RparseUrl::FindOpt(), Retro::RparseUrl::Path(), and String2Long().
void Retro::Rtools::Catch2Cerr | ( | const char * | msg, |
std::function< void()> | func | ||
) |
FIXME_docs.
Definition at line 170 of file Rtools.cpp.
References Retro::Rexception::ErrMsg(), Retro::RerrMsg::Meth(), Retro::RerrMsg::Text(), and Retro::Rexception::what().
Referenced by Retro::RlinkConnect::~RlinkConnect(), Retro::RlinkPortCuff::~RlinkPortCuff(), Retro::RlinkServer::~RlinkServer(), Retro::RtclAttnShuttle::~RtclAttnShuttle(), Retro::Rw11VirtEthTap::~Rw11VirtEthTap(), Retro::Rw11VirtTermPty::~Rw11VirtTermPty(), and Retro::Rw11VirtTermTcp::~Rw11VirtTermTcp().
|
inline |
FIXME_docs.
Definition at line 20 of file Rtools.ipp.
|
inline |
FIXME_docs.
Definition at line 30 of file Rtools.ipp.
Referenced by Retro::Rw11CntlDEUNA::ExecGetcmd().