19#ifndef included_Retro_Rw11VirtTerm
20#define included_Retro_Rw11VirtTerm 1
31 typedef std::function<bool(
const uint8_t*,
size_t)>
rcvcbfo_t;
36 virtual const std::string&
ChannelId()
const;
39 virtual bool Snd(
const uint8_t* data,
size_t count,
RerrMsg& emsg) = 0;
41 virtual void Dump(std::ostream& os,
int ind=0,
const char* text=0,
44 static std::unique_ptr<Rw11VirtTerm>
New(
const std::string& url,
static std::unique_ptr< Rw11VirtTerm > New(const std::string &url, Rw11Unit *punit, RerrMsg &emsg)
FIXME_docs.
void SetupRcvCallback(rcvcbfo_t &&rcvcbfo)
FIXME_docs.
rcvcbfo_t fRcvCb
receive callback fobj
virtual bool Snd(const uint8_t *data, size_t count, RerrMsg &emsg)=0
std::string fChannelId
channel id
~Rw11VirtTerm()
Destructor.
std::function< bool(const uint8_t *, size_t)> rcvcbfo_t
virtual void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
virtual const std::string & ChannelId() const
FIXME_docs.
Declaration of class ReventLoop.