w11 - cpp 0.794
Backend server for Rlink and w11
|
FIXME_docs. More...
#include <RlinkContext.hpp>
Public Member Functions | |
RlinkContext () | |
Default constructor. | |
~RlinkContext () | |
Destructor. | |
void | SetStatus (uint8_t stat, uint8_t statmsk=0x00) |
FIXME_docs. | |
void | SetStatusValue (uint8_t stat) |
FIXME_docs. | |
void | SetStatusMask (uint8_t statmsk) |
FIXME_docs. | |
uint8_t | StatusValue () const |
FIXME_docs. | |
uint8_t | StatusMask () const |
FIXME_docs. | |
bool | StatusIsChecked () const |
FIXME_docs. | |
bool | StatusCheck (uint8_t val) const |
FIXME_docs. | |
void | IncErrorCount (size_t inc=1) |
FIXME_docs. | |
void | ClearErrorCount () |
FIXME_docs. | |
size_t | ErrorCount () const |
FIXME_docs. | |
void | Dump (std::ostream &os, int ind=0, const char *text=0, int detail=0) const |
FIXME_docs. | |
Protected Attributes | |
uint8_t | fStatusVal |
status value | |
uint8_t | fStatusMsk |
status mask | |
size_t | fErrCnt |
error count | |
FIXME_docs.
Definition at line 25 of file RlinkContext.hpp.
Retro::RlinkContext::RlinkContext | ( | ) |
Default constructor.
Definition at line 36 of file RlinkContext.cpp.
Retro::RlinkContext::~RlinkContext | ( | ) |
Destructor.
Definition at line 45 of file RlinkContext.cpp.
|
inline |
FIXME_docs.
Definition at line 22 of file RlinkContext.ipp.
References fStatusMsk, and fStatusVal.
Referenced by Retro::RlinkConnect::RlinkConnect(), and Retro::RlinkServer::RlinkServer().
|
inline |
FIXME_docs.
Definition at line 32 of file RlinkContext.ipp.
References fStatusVal.
Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect(), and Retro::RtclRlinkServer::RtclRlinkServer().
|
inline |
FIXME_docs.
Definition at line 41 of file RlinkContext.ipp.
References fStatusMsk.
Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect(), and Retro::RtclRlinkServer::RtclRlinkServer().
|
inline |
FIXME_docs.
Definition at line 50 of file RlinkContext.ipp.
References fStatusVal.
Referenced by Retro::RlinkConnect::Exec(), Retro::RtclRlinkConnect::RtclRlinkConnect(), and Retro::RtclRlinkServer::RtclRlinkServer().
|
inline |
FIXME_docs.
Definition at line 58 of file RlinkContext.ipp.
References fStatusMsk.
Referenced by Retro::RlinkConnect::Exec(), Retro::RtclRlinkConnect::RtclRlinkConnect(), and Retro::RtclRlinkServer::RtclRlinkServer().
|
inline |
FIXME_docs.
Definition at line 66 of file RlinkContext.ipp.
References fStatusMsk.
Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect(), and Retro::RtclRlinkServer::RtclRlinkServer().
|
inline |
|
inline |
FIXME_docs.
Definition at line 82 of file RlinkContext.ipp.
References fErrCnt.
Referenced by Retro::RlinkConnect::Exec(), Retro::RtclRlinkConnect::M_errcnt(), Retro::RtclRlinkConnect::M_rawrblk(), Retro::RtclRw11Cpu::M_wtcpu(), and Retro::RtclRlinkConnect::M_wtlam().
|
inline |
FIXME_docs.
Definition at line 91 of file RlinkContext.ipp.
References fErrCnt.
Referenced by Retro::RtclRlinkConnect::M_errcnt().
|
inline |
void Retro::RlinkContext::Dump | ( | std::ostream & | os, |
int | ind = 0 , |
||
const char * | text = 0 , |
||
int | detail = 0 |
||
) | const |
FIXME_docs.
Definition at line 51 of file RlinkContext.cpp.
References fErrCnt, fStatusMsk, fStatusVal, and Retro::RosPrintf().
Referenced by Retro::RlinkChannel::Dump(), and Retro::RlinkConnect::Dump().
|
protected |
status value
Definition at line 49 of file RlinkContext.hpp.
Referenced by Dump(), SetStatus(), SetStatusValue(), StatusCheck(), and StatusValue().
|
protected |
status mask
Definition at line 50 of file RlinkContext.hpp.
Referenced by Dump(), SetStatus(), SetStatusMask(), StatusCheck(), StatusIsChecked(), and StatusMask().
|
protected |
error count
Definition at line 51 of file RlinkContext.hpp.
Referenced by ClearErrorCount(), Dump(), ErrorCount(), and IncErrorCount().