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

Classes

class  GpioProxy

Public Types

typedef std::function< void(bool)> GpioEventFn

Public Member Functions

 Gpio (const Gpio &o)=default
 Gpio (const Object &o)
void set (bool lvl)
void set_proxy (std::shared_ptr< GpioProxy > proxy)
void set_event_callback (GpioEventFn cb)
Public Member Functions inherited from qemu::Object
 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 ()

Static Public Attributes

static constexpr const char *const TYPE = "irq"

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
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/gpio.cc