20#ifndef included_Retro_RlinkCommandExpect
21#define included_Retro_RlinkCommandExpect 1
35 const std::vector<uint16_t>& blockmsk);
38 void SetData(uint16_t data, uint16_t datamsk=0);
39 void SetDone(uint16_t done,
bool check=
true);
40 void SetBlock(
const std::vector<uint16_t>& block);
41 void SetBlock(std::vector<uint16_t>&& block);
42 void SetBlock(
const std::vector<uint16_t>& block,
43 const std::vector<uint16_t>& blockmsk);
44 void SetBlock(std::vector<uint16_t>&& block,
45 std::vector<uint16_t>&& blockmsk);
50 const std::vector<uint16_t>&
BlockValue()
const;
51 const std::vector<uint16_t>&
BlockMask()
const;
55 bool BlockCheck(
size_t ind, uint16_t val)
const;
56 size_t BlockCheck(
const uint16_t* pval,
size_t size)
const;
62 void Dump(std::ostream& os,
int ind=0,
const char* text=0,
uint16_t DoneValue() const
FIXME_docs.
void SetDone(uint16_t done, bool check=true)
FIXME_docs.
uint16_t DataValue() const
FIXME_docs.
uint16_t fDataVal
data value
void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
void SetBlock(const std::vector< uint16_t > &block)
FIXME_docs.
std::vector< uint16_t > fBlockVal
block value
std::vector< uint16_t > fBlockMsk
block mask
bool DataIsChecked() const
FIXME_docs.
uint16_t fDataMsk
data mask
bool DoneCheck(uint16_t val) const
FIXME_docs.
bool DataCheck(uint16_t val) const
FIXME_docs.
bool DoneIsChecked() const
FIXME_docs.
void SetData(uint16_t data, uint16_t datamsk=0)
FIXME_docs.
const std::vector< uint16_t > & BlockValue() const
FIXME_docs.
bool BlockCheck(size_t ind, uint16_t val) const
FIXME_docs.
uint16_t DataMask() const
FIXME_docs.
~RlinkCommandExpect()
Destructor.
RlinkCommandExpect()
Default constructor.
const std::vector< uint16_t > & BlockMask() const
FIXME_docs.
bool BlockIsChecked(size_t ind) const
FIXME_docs.
Declaration of class ReventLoop.