qualcomm/qbox
Loading...
Searching...
No Matches
qemu::Object Class Reference
Inheritance diagram for qemu::Object:

Public Member Functions

 Object (QemuObject *obj, std::shared_ptr< LibQemuInternals > &internals)
 Object (const Object &o)
 Object (Object &&o)
Object & operator= (Object o)
bool valid () const
void set_prop_bool (const char *name, bool val)
void set_prop_int (const char *name, int64_t val)
void set_prop_uint (const char *name, uint64_t val)
void set_prop_str (const char *name, const char *val)
void set_prop_link (const char *name, const Object &link)
void set_prop_parse (const char *name, const char *value)
Object get_prop_link (const char *name)
QemuObject * get_qemu_obj () const
LibQemu & get_inst ()
uintptr_t get_inst_id () const
bool same_inst_as (const Object &o) const
template<class T>
bool check_cast () const
void clear_callbacks ()

Protected Member Functions

bool check_cast_by_type (const char *type_name) const

Protected Attributes

QemuObject * m_obj = nullptr
std::shared_ptr< LibQemuInternals > m_int

The documentation for this class was generated from the following files:
  • qemu-components/common/include/libqemu-cxx/libqemu-cxx.h
  • qemu-components/common/src/libqemu-cxx/object.cc