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

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
 

Detailed Description

FIXME_docs.

Definition at line 25 of file RlinkContext.hpp.

Constructor & Destructor Documentation

◆ RlinkContext()

Retro::RlinkContext::RlinkContext ( )

Default constructor.

Definition at line 36 of file RlinkContext.cpp.

◆ ~RlinkContext()

Retro::RlinkContext::~RlinkContext ( )

Destructor.

Definition at line 45 of file RlinkContext.cpp.

Member Function Documentation

◆ SetStatus()

void Retro::RlinkContext::SetStatus ( uint8_t  stat,
uint8_t  statmsk = 0x00 
)
inline

FIXME_docs.

Definition at line 22 of file RlinkContext.ipp.

References fStatusMsk, and fStatusVal.

Referenced by Retro::RlinkConnect::RlinkConnect(), and Retro::RlinkServer::RlinkServer().

◆ SetStatusValue()

void Retro::RlinkContext::SetStatusValue ( uint8_t  stat)
inline

FIXME_docs.

Definition at line 32 of file RlinkContext.ipp.

References fStatusVal.

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect(), and Retro::RtclRlinkServer::RtclRlinkServer().

◆ SetStatusMask()

void Retro::RlinkContext::SetStatusMask ( uint8_t  statmsk)
inline

FIXME_docs.

Definition at line 41 of file RlinkContext.ipp.

References fStatusMsk.

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect(), and Retro::RtclRlinkServer::RtclRlinkServer().

◆ StatusValue()

uint8_t Retro::RlinkContext::StatusValue ( ) const
inline

◆ StatusMask()

uint8_t Retro::RlinkContext::StatusMask ( ) const
inline

◆ StatusIsChecked()

bool Retro::RlinkContext::StatusIsChecked ( ) const
inline

FIXME_docs.

Definition at line 66 of file RlinkContext.ipp.

References fStatusMsk.

Referenced by Retro::RtclRlinkConnect::RtclRlinkConnect(), and Retro::RtclRlinkServer::RtclRlinkServer().

◆ StatusCheck()

bool Retro::RlinkContext::StatusCheck ( uint8_t  val) const
inline

FIXME_docs.

Definition at line 74 of file RlinkContext.ipp.

References fStatusMsk, and fStatusVal.

◆ IncErrorCount()

void Retro::RlinkContext::IncErrorCount ( size_t  inc = 1)
inline

◆ ClearErrorCount()

void Retro::RlinkContext::ClearErrorCount ( )
inline

FIXME_docs.

Definition at line 91 of file RlinkContext.ipp.

References fErrCnt.

Referenced by Retro::RtclRlinkConnect::M_errcnt().

◆ ErrorCount()

size_t Retro::RlinkContext::ErrorCount ( ) const
inline

FIXME_docs.

Definition at line 100 of file RlinkContext.ipp.

References fErrCnt.

◆ Dump()

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().

Member Data Documentation

◆ fStatusVal

uint8_t Retro::RlinkContext::fStatusVal
protected

status value

Definition at line 49 of file RlinkContext.hpp.

Referenced by Dump(), SetStatus(), SetStatusValue(), StatusCheck(), and StatusValue().

◆ fStatusMsk

uint8_t Retro::RlinkContext::fStatusMsk
protected

status mask

Definition at line 50 of file RlinkContext.hpp.

Referenced by Dump(), SetStatus(), SetStatusMask(), StatusCheck(), StatusIsChecked(), and StatusMask().

◆ fErrCnt

size_t Retro::RlinkContext::fErrCnt
protected

error count

Definition at line 51 of file RlinkContext.hpp.

Referenced by ClearErrorCount(), Dump(), ErrorCount(), and IncErrorCount().


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