quic/qbox
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
qemu::Device Class Reference
Inheritance diagram for qemu::Device:
Inheritance graph
[legend]
Collaboration diagram for qemu::Device:
Collaboration graph
[legend]

Public Member Functions

 Device (const Device &)=default
 
 Device (const Object &o)
 
void connect_gpio_out (int idx, Gpio gpio)
 
void connect_gpio_out_named (const char *name, int idx, Gpio gpio)
 
Gpio get_gpio_in (int idx)
 
Gpio get_gpio_in_named (const char *name, int idx)
 
Bus get_child_bus (const char *name)
 
void set_parent_bus (Bus bus)
 
void set_prop_chardev (const char *name, Chardev chr)
 
void set_prop_uint_array (const char *name, std::vector< unsigned int > vec)
 
- Public Member Functions inherited from qemu::Object
 Object (QemuObject *obj, std::shared_ptr< LibQemuInternals > &internals)
 
 Object (const Object &o)
 
 Object (Object &&o)
 
Objectoperator= (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)
 
QemuObjectget_qemu_obj () const
 
LibQemuget_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 ()
 

Static Public Attributes

static constexpr const char *const TYPE = "device"
 

Additional Inherited Members

- Protected Member Functions inherited from qemu::Object
bool check_cast_by_type (const char *type_name) const
 
- Protected Attributes inherited from qemu::Object
QemuObjectm_obj = nullptr
 
std::shared_ptr< LibQemuInternalsm_int
 

The documentation for this class was generated from the following files: