24#ifndef included_Retro_RlinkCommandList
25#define included_Retro_RlinkCommandList 1
53 size_t AddRblk(uint16_t addr,
size_t size);
54 size_t AddRblk(uint16_t addr, uint16_t* block,
size_t size);
55 size_t AddWreg(uint16_t addr, uint16_t data);
56 size_t AddWblk(uint16_t addr,
const std::vector<uint16_t>& block);
57 size_t AddWblk(uint16_t addr, std::vector<uint16_t>&& block);
58 size_t AddWblk(uint16_t addr,
const uint16_t* block,
size_t size);
61 size_t AddInit(uint16_t addr, uint16_t data);
69 const std::vector<uint16_t>& blockmsk);
71 std::vector<uint16_t>&& blockmsk);
83 size_t abase=16,
size_t dbase=16,
84 size_t sbase=16)
const;
85 void Dump(std::ostream& os,
int ind=0,
const char* text=0,
size_t AddWreg(uint16_t addr, uint16_t data)
FIXME_docs.
size_t AddCommand(cmd_uptr_t &&upcmd)
FIXME_docs.
RlinkCommandList & operator=(const RlinkCommandList &rhs)
FIXME_docs.
int fLaboIndex
index of active labo (-1 if no)
size_t AddAttn()
FIXME_docs.
size_t Size() const
FIXME_docs.
void ClearLaboIndex()
FIXME_docs.
size_t AddInit(uint16_t addr, uint16_t data)
FIXME_docs.
size_t AddRblk(uint16_t addr, size_t size)
FIXME_docs.
RlinkCommandList()
Default constructor.
void SetLastExpectStatus(uint8_t stat, uint8_t statmsk=0xff)
FIXME_docs.
void SetLastExpectBlock(const std::vector< uint16_t > &block)
FIXME_docs.
void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
size_t AddWblk(uint16_t addr, const std::vector< uint16_t > &block)
FIXME_docs.
int LaboIndex() const
FIXME_docs.
RlinkCommand & operator[](size_t ind)
FIXME_docs.
void SetLaboIndex(int ind)
FIXME_docs.
size_t AddRreg(uint16_t addr)
FIXME_docs.
std::unique_ptr< RlinkCommand > cmd_uptr_t
void Print(std::ostream &os, const RlinkAddrMap *pamap=0, size_t abase=16, size_t dbase=16, size_t sbase=16) const
FIXME_docs.
std::vector< cmd_uptr_t > fList
vector of commands
void SetLastExpectDone(uint16_t done)
FIXME_docs.
void SetLastExpect(exp_uptr_t &&upexp)
FIXME_docs.
bool LaboActive() const
FIXME_docs.
std::unique_ptr< RlinkCommandExpect > exp_uptr_t
void SetLastExpectData(uint16_t data, uint16_t datamsk=0xffff)
FIXME_docs.
~RlinkCommandList()
Destructor.
size_t AddLabo()
FIXME_docs.
Declaration of class ReventLoop.