94 std::lock_guard<RlinkConnect> lock(Connect());
95 if (fupVirt) Detach();
97 emsg.
Init(
"Rw11UnitVirt::Attach",
"unit not enabled");
100 fupVirt = std::move(TV::New(url,
this, emsg));
101 if (fupVirt) AttachDone();
102 return bool(fupVirt);
112 std::lock_guard<RlinkConnect> lock(Connect());
113 if (!fupVirt)
return;
128 os << bl << (text?text:
"--") <<
"Rw11UnitVirt @ " <<
this << std::endl;
130 fupVirt->Dump(os, ind+2,
"*fupVirt: ", detail);
132 os << bl <<
" fupVirt: " << fupVirt.get() << std::endl;
void Init(const std::string &meth, const std::string &text)
FIXME_docs.
I/O appicator to generate fill characters.
Rw11UnitVirt(Rw11Cntl *pcntl, size_t index)
Default constructor.
virtual void Detach()
FIXME_docs.
~Rw11UnitVirt()
Destructor.
virtual Rw11Virt * VirtBase() const
FIXME_docs.
virtual bool Attach(const std::string &url, RerrMsg &emsg)
FIXME_docs.
virtual void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
bool HasVirt() const
FIXME_docs.
virtual void Dump(std::ostream &os, int ind=0, const char *text=0, int detail=0) const
FIXME_docs.
Declaration of class ReventLoop.