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

FIXME_docs. More...

#include <RlinkCommandExpect.hpp>

Collaboration diagram for Retro::RlinkCommandExpect:
[legend]

Public Member Functions

 RlinkCommandExpect ()
 Default constructor.
 
 RlinkCommandExpect (uint16_t data, uint16_t datamsk=0xffff)
 FIXME_docs.
 
 RlinkCommandExpect (const std::vector< uint16_t > &block)
 FIXME_docs.
 
 RlinkCommandExpect (const std::vector< uint16_t > &block, const std::vector< uint16_t > &blockmsk)
 FIXME_docs.
 
 ~RlinkCommandExpect ()
 Destructor.
 
void SetData (uint16_t data, uint16_t datamsk=0)
 FIXME_docs.
 
void SetDone (uint16_t done, bool check=true)
 FIXME_docs.
 
void SetBlock (const std::vector< uint16_t > &block)
 FIXME_docs.
 
void SetBlock (std::vector< uint16_t > &&block)
 FIXME_docs.
 
void SetBlock (const std::vector< uint16_t > &block, const std::vector< uint16_t > &blockmsk)
 FIXME_docs.
 
void SetBlock (std::vector< uint16_t > &&block, std::vector< uint16_t > &&blockmsk)
 FIXME_docs.
 
uint16_t DataValue () const
 FIXME_docs.
 
uint16_t DataMask () const
 FIXME_docs.
 
uint16_t DoneValue () const
 FIXME_docs.
 
const std::vector< uint16_t > & BlockValue () const
 FIXME_docs.
 
const std::vector< uint16_t > & BlockMask () const
 FIXME_docs.
 
bool DataCheck (uint16_t val) const
 FIXME_docs.
 
bool DoneCheck (uint16_t val) const
 FIXME_docs.
 
bool BlockCheck (size_t ind, uint16_t val) const
 FIXME_docs.
 
size_t BlockCheck (const uint16_t *pval, size_t size) const
 FIXME_docs.
 
bool DataIsChecked () const
 FIXME_docs.
 
bool DoneIsChecked () const
 FIXME_docs.
 
bool BlockIsChecked (size_t ind) const
 FIXME_docs.
 
void Dump (std::ostream &os, int ind=0, const char *text=0, int detail=0) const
 FIXME_docs.
 

Protected Attributes

uint16_t fDataVal
 data value
 
uint16_t fDataMsk
 data mask
 
std::vector< uint16_t > fBlockVal
 block value
 
std::vector< uint16_t > fBlockMsk
 block mask
 

Detailed Description

FIXME_docs.

Definition at line 28 of file RlinkCommandExpect.hpp.

Constructor & Destructor Documentation

◆ RlinkCommandExpect() [1/4]

Retro::RlinkCommandExpect::RlinkCommandExpect ( )

Default constructor.

Definition at line 44 of file RlinkCommandExpect.cpp.

◆ RlinkCommandExpect() [2/4]

Retro::RlinkCommandExpect::RlinkCommandExpect ( uint16_t  data,
uint16_t  datamsk = 0xffff 
)

FIXME_docs.

Definition at line 51 of file RlinkCommandExpect.cpp.

◆ RlinkCommandExpect() [3/4]

Retro::RlinkCommandExpect::RlinkCommandExpect ( const std::vector< uint16_t > &  block)

FIXME_docs.

Definition at line 61 of file RlinkCommandExpect.cpp.

◆ RlinkCommandExpect() [4/4]

Retro::RlinkCommandExpect::RlinkCommandExpect ( const std::vector< uint16_t > &  block,
const std::vector< uint16_t > &  blockmsk 
)

FIXME_docs.

Definition at line 71 of file RlinkCommandExpect.cpp.

◆ ~RlinkCommandExpect()

Retro::RlinkCommandExpect::~RlinkCommandExpect ( )

Destructor.

Definition at line 82 of file RlinkCommandExpect.cpp.

Member Function Documentation

◆ SetData()

void Retro::RlinkCommandExpect::SetData ( uint16_t  data,
uint16_t  datamsk = 0 
)
inline

FIXME_docs.

Definition at line 24 of file RlinkCommandExpect.ipp.

References fDataMsk, and fDataVal.

Referenced by Retro::RlinkCommandList::SetLastExpectData().

◆ SetDone()

void Retro::RlinkCommandExpect::SetDone ( uint16_t  done,
bool  check = true 
)
inline

FIXME_docs.

Definition at line 34 of file RlinkCommandExpect.ipp.

References fDataMsk, and fDataVal.

Referenced by Retro::RlinkCommandList::SetLastExpectDone().

◆ SetBlock() [1/4]

void Retro::RlinkCommandExpect::SetBlock ( const std::vector< uint16_t > &  block)
inline

FIXME_docs.

Definition at line 44 of file RlinkCommandExpect.ipp.

References fBlockMsk, and fBlockVal.

Referenced by Retro::RlinkCommandList::SetLastExpectBlock().

◆ SetBlock() [2/4]

void Retro::RlinkCommandExpect::SetBlock ( std::vector< uint16_t > &&  block)
inline

FIXME_docs.

Definition at line 54 of file RlinkCommandExpect.ipp.

References fBlockMsk, and fBlockVal.

◆ SetBlock() [3/4]

void Retro::RlinkCommandExpect::SetBlock ( const std::vector< uint16_t > &  block,
const std::vector< uint16_t > &  blockmsk 
)
inline

FIXME_docs.

Definition at line 64 of file RlinkCommandExpect.ipp.

References fBlockMsk, and fBlockVal.

◆ SetBlock() [4/4]

void Retro::RlinkCommandExpect::SetBlock ( std::vector< uint16_t > &&  block,
std::vector< uint16_t > &&  blockmsk 
)
inline

FIXME_docs.

Definition at line 76 of file RlinkCommandExpect.ipp.

References fBlockMsk, and fBlockVal.

◆ DataValue()

uint16_t Retro::RlinkCommandExpect::DataValue ( ) const
inline

FIXME_docs.

Definition at line 87 of file RlinkCommandExpect.ipp.

References fDataVal.

◆ DataMask()

uint16_t Retro::RlinkCommandExpect::DataMask ( ) const
inline

FIXME_docs.

Definition at line 95 of file RlinkCommandExpect.ipp.

References fDataMsk.

◆ DoneValue()

uint16_t Retro::RlinkCommandExpect::DoneValue ( ) const
inline

FIXME_docs.

Definition at line 103 of file RlinkCommandExpect.ipp.

References fDataVal.

◆ BlockValue()

const std::vector< uint16_t > & Retro::RlinkCommandExpect::BlockValue ( ) const
inline

FIXME_docs.

Definition at line 111 of file RlinkCommandExpect.ipp.

References fBlockVal.

Referenced by Retro::RlinkCommand::Print().

◆ BlockMask()

const std::vector< uint16_t > & Retro::RlinkCommandExpect::BlockMask ( ) const
inline

FIXME_docs.

Definition at line 119 of file RlinkCommandExpect.ipp.

References fBlockMsk.

Referenced by Retro::RlinkCommand::Print().

◆ DataCheck()

bool Retro::RlinkCommandExpect::DataCheck ( uint16_t  val) const
inline

FIXME_docs.

Definition at line 127 of file RlinkCommandExpect.ipp.

References fDataMsk, and fDataVal.

◆ DoneCheck()

bool Retro::RlinkCommandExpect::DoneCheck ( uint16_t  val) const
inline

FIXME_docs.

Definition at line 135 of file RlinkCommandExpect.ipp.

References DoneIsChecked(), and fDataVal.

◆ BlockCheck() [1/2]

bool Retro::RlinkCommandExpect::BlockCheck ( size_t  ind,
uint16_t  val 
) const

FIXME_docs.

Definition at line 88 of file RlinkCommandExpect.cpp.

References fBlockMsk, and fBlockVal.

◆ BlockCheck() [2/2]

size_t Retro::RlinkCommandExpect::BlockCheck ( const uint16_t *  pval,
size_t  size 
) const

FIXME_docs.

Definition at line 99 of file RlinkCommandExpect.cpp.

References fBlockMsk, and fBlockVal.

◆ DataIsChecked()

bool Retro::RlinkCommandExpect::DataIsChecked ( ) const
inline

FIXME_docs.

Definition at line 143 of file RlinkCommandExpect.ipp.

References fDataMsk.

◆ DoneIsChecked()

bool Retro::RlinkCommandExpect::DoneIsChecked ( ) const
inline

FIXME_docs.

Definition at line 151 of file RlinkCommandExpect.ipp.

References fDataMsk.

Referenced by DoneCheck().

◆ BlockIsChecked()

bool Retro::RlinkCommandExpect::BlockIsChecked ( size_t  ind) const

FIXME_docs.

Definition at line 115 of file RlinkCommandExpect.cpp.

References fBlockMsk, and fBlockVal.

Referenced by Retro::RlinkCommand::Print().

◆ Dump()

void Retro::RlinkCommandExpect::Dump ( std::ostream &  os,
int  ind = 0,
const char *  text = 0,
int  detail = 0 
) const

FIXME_docs.

Definition at line 125 of file RlinkCommandExpect.cpp.

References fBlockMsk, fBlockVal, fDataMsk, fDataVal, and Retro::RosPrintf().

Member Data Documentation

◆ fDataVal

uint16_t Retro::RlinkCommandExpect::fDataVal
protected

data value

Definition at line 66 of file RlinkCommandExpect.hpp.

Referenced by DataCheck(), DataValue(), DoneCheck(), DoneValue(), Dump(), SetData(), and SetDone().

◆ fDataMsk

uint16_t Retro::RlinkCommandExpect::fDataMsk
protected

data mask

Definition at line 67 of file RlinkCommandExpect.hpp.

Referenced by DataCheck(), DataIsChecked(), DataMask(), DoneIsChecked(), Dump(), SetData(), and SetDone().

◆ fBlockVal

std::vector<uint16_t> Retro::RlinkCommandExpect::fBlockVal
protected

block value

Definition at line 68 of file RlinkCommandExpect.hpp.

Referenced by BlockCheck(), BlockIsChecked(), BlockValue(), Dump(), and SetBlock().

◆ fBlockMsk

std::vector<uint16_t> Retro::RlinkCommandExpect::fBlockMsk
protected

block mask

Definition at line 69 of file RlinkCommandExpect.hpp.

Referenced by BlockCheck(), BlockIsChecked(), BlockMask(), Dump(), and SetBlock().


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