53template <
class TU,
class TUV,
class TB>
55 const std::shared_ptr<TU>& spunit)
60 this, std::placeholders::_1));
71 gets.
Add<
size_t> (
"index", std::bind(&TU::Index, pobj));
72 gets.
Add<std::string> (
"name", std::bind(&TU::Name, pobj));
73 gets.
Add<
bool> (
"enabled", std::bind(&TU::Enabled, pobj));
74 gets.
Add<
bool> (
"attached", std::bind(&TU::IsAttached, pobj));
75 gets.
Add<
const std::string&> (
"attachurl",std::bind(&TU::AttachUrl,pobj));
81template <
class TU,
class TUV,
class TB>
88template <
class TU,
class TUV,
class TB>
97template <
class TU,
class TUV,
class TB>
106template <
class TU,
class TUV,
class TB>
109 return fspObj->Cpu();
115template <
class TU,
class TUV,
class TB>
124template <
class TU,
class TUV,
class TB>
127 if (!Obj().HasVirt())
return;
130 this->fupVirt = move(pvirt);
132 std::placeholders::_1));
139template <
class TU,
class TUV,
class TB>
145 if (Obj().HasVirt()) {
146 if (!
RtclStats::Exec(args, cntx, Obj().Virt().Stats()))
return TB::kERR;
void Add(const std::string &name, get_uptr_t &&upget)
FIXME_docs.
Implemenation (all inline) of RtclRw11UnitBase.
~RtclRw11UnitBase()
FIXME_docs.
virtual void AttachDone()
FIXME_docs.
RtclRw11UnitBase(const std::string &type, const std::shared_ptr< TU > &spunit)
Constructor.
std::shared_ptr< TU > fspObj
sptr to managed object
virtual Rw11Cpu & Cpu() const
FIXME_docs.
virtual TUV & ObjUV()
FIXME_docs.
const std::shared_ptr< TU > & ObjSPtr()
FIXME_docs.
virtual TU & Obj()
FIXME_docs.
int M_stats(RtclArgs &args)
FIXME_docs.
int M_virt(RtclArgs &args)
FIXME_docs.
static bool Exec(RtclArgs &args, const Context &cntx, Rstats &stats)
FIXME_docs.
static bool GetArgs(RtclArgs &args, Context &cntx)
FIXME_docs.
Declaration of class ReventLoop.
std::unique_ptr< RtclRw11Virt > RtclRw11VirtFactory(Rw11Virt *pobj)
FIXME_docs.