|
w11 - cpp 0.794
Backend server for Rlink and w11
|
FIXME_docs. More...
#include <RlinkCommandExpect.hpp>
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 | |
FIXME_docs.
Definition at line 28 of file RlinkCommandExpect.hpp.
| Retro::RlinkCommandExpect::RlinkCommandExpect | ( | ) |
Default constructor.
Definition at line 44 of file RlinkCommandExpect.cpp.
| Retro::RlinkCommandExpect::RlinkCommandExpect | ( | uint16_t | data, |
| uint16_t | datamsk = 0xffff |
||
| ) |
FIXME_docs.
Definition at line 51 of file RlinkCommandExpect.cpp.
| Retro::RlinkCommandExpect::RlinkCommandExpect | ( | const std::vector< uint16_t > & | block | ) |
FIXME_docs.
Definition at line 61 of file RlinkCommandExpect.cpp.
| 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.
| Retro::RlinkCommandExpect::~RlinkCommandExpect | ( | ) |
Destructor.
Definition at line 82 of file RlinkCommandExpect.cpp.
|
inline |
FIXME_docs.
Definition at line 24 of file RlinkCommandExpect.ipp.
References fDataMsk, and fDataVal.
Referenced by Retro::RlinkCommandList::SetLastExpectData().
|
inline |
FIXME_docs.
Definition at line 34 of file RlinkCommandExpect.ipp.
References fDataMsk, and fDataVal.
Referenced by Retro::RlinkCommandList::SetLastExpectDone().
|
inline |
FIXME_docs.
Definition at line 44 of file RlinkCommandExpect.ipp.
References fBlockMsk, and fBlockVal.
Referenced by Retro::RlinkCommandList::SetLastExpectBlock().
|
inline |
FIXME_docs.
Definition at line 54 of file RlinkCommandExpect.ipp.
|
inline |
FIXME_docs.
Definition at line 64 of file RlinkCommandExpect.ipp.
|
inline |
FIXME_docs.
Definition at line 76 of file RlinkCommandExpect.ipp.
|
inline |
|
inline |
|
inline |
|
inline |
FIXME_docs.
Definition at line 111 of file RlinkCommandExpect.ipp.
References fBlockVal.
Referenced by Retro::RlinkCommand::Print().
|
inline |
FIXME_docs.
Definition at line 119 of file RlinkCommandExpect.ipp.
References fBlockMsk.
Referenced by Retro::RlinkCommand::Print().
|
inline |
FIXME_docs.
Definition at line 127 of file RlinkCommandExpect.ipp.
|
inline |
FIXME_docs.
Definition at line 135 of file RlinkCommandExpect.ipp.
References DoneIsChecked(), and fDataVal.
| bool Retro::RlinkCommandExpect::BlockCheck | ( | size_t | ind, |
| uint16_t | val | ||
| ) | const |
FIXME_docs.
Definition at line 88 of file RlinkCommandExpect.cpp.
| size_t Retro::RlinkCommandExpect::BlockCheck | ( | const uint16_t * | pval, |
| size_t | size | ||
| ) | const |
FIXME_docs.
Definition at line 99 of file RlinkCommandExpect.cpp.
|
inline |
|
inline |
FIXME_docs.
Definition at line 151 of file RlinkCommandExpect.ipp.
References fDataMsk.
Referenced by DoneCheck().
| 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().
| 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().
|
protected |
data value
Definition at line 66 of file RlinkCommandExpect.hpp.
Referenced by DataCheck(), DataValue(), DoneCheck(), DoneValue(), Dump(), SetData(), and SetDone().
|
protected |
data mask
Definition at line 67 of file RlinkCommandExpect.hpp.
Referenced by DataCheck(), DataIsChecked(), DataMask(), DoneIsChecked(), Dump(), SetData(), and SetDone().
|
protected |
block value
Definition at line 68 of file RlinkCommandExpect.hpp.
Referenced by BlockCheck(), BlockIsChecked(), BlockValue(), Dump(), and SetBlock().
|
protected |
block mask
Definition at line 69 of file RlinkCommandExpect.hpp.
Referenced by BlockCheck(), BlockIsChecked(), BlockMask(), Dump(), and SetBlock().