Stores information about a D-Bus interface.
More...
#include <giomm/dbusintrospection.h>
|
static GType | get_type () |
| Get the GType for this class, for use with the underlying GObject type system.
|
|
Stores information about a D-Bus interface.
- Since glibmm 2.28:
◆ InterfaceInfo() [1/2]
Gio::DBus::InterfaceInfo::InterfaceInfo |
( |
| ) |
|
|
delete |
◆ InterfaceInfo() [2/2]
◆ cache_build()
void Gio::DBus::InterfaceInfo::cache_build |
( |
| ) |
|
◆ cache_release()
void Gio::DBus::InterfaceInfo::cache_release |
( |
| ) |
|
◆ get_type()
Get the GType for this class, for use with the underlying GObject type system.
◆ gobj() [1/2]
Provides access to the underlying C instance.
◆ gobj() [2/2]
Provides access to the underlying C instance.
◆ gobj_copy()
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
◆ lookup_method() [1/2]
Looks up information about a method.
The cost of this function is O(n) in number of methods unless g_dbus_interface_info_cache_build() has been used on info.
- Since glibmm 2.26:
- Parameters
-
name | A D-Bus method name (typically in CamelCase). |
- Returns
- A DBusMethodInfo or
nullptr
if not found. Do not free, it is owned by info.
◆ lookup_method() [2/2]
Looks up information about a method.
The cost of this function is O(n) in number of methods unless g_dbus_interface_info_cache_build() has been used on info.
- Since glibmm 2.26:
- Parameters
-
name | A D-Bus method name (typically in CamelCase). |
- Returns
- A DBusMethodInfo or
nullptr
if not found. Do not free, it is owned by info.
◆ lookup_property() [1/2]
Looks up information about a property.
The cost of this function is O(n) in number of properties unless g_dbus_interface_info_cache_build() has been used on info.
- Since glibmm 2.26:
- Parameters
-
name | A D-Bus property name (typically in CamelCase). |
- Returns
- A DBusPropertyInfo or
nullptr
if not found. Do not free, it is owned by info.
◆ lookup_property() [2/2]
Looks up information about a property.
The cost of this function is O(n) in number of properties unless g_dbus_interface_info_cache_build() has been used on info.
- Since glibmm 2.26:
- Parameters
-
name | A D-Bus property name (typically in CamelCase). |
- Returns
- A DBusPropertyInfo or
nullptr
if not found. Do not free, it is owned by info.
◆ lookup_signal() [1/2]
Looks up information about a signal.
The cost of this function is O(n) in number of signals unless g_dbus_interface_info_cache_build() has been used on info.
- Since glibmm 2.26:
- Parameters
-
name | A D-Bus signal name (typically in CamelCase). |
- Returns
- A DBusSignalInfo or
nullptr
if not found. Do not free, it is owned by info.
◆ lookup_signal() [2/2]
Looks up information about a signal.
The cost of this function is O(n) in number of signals unless g_dbus_interface_info_cache_build() has been used on info.
- Since glibmm 2.26:
- Parameters
-
name | A D-Bus signal name (typically in CamelCase). |
- Returns
- A DBusSignalInfo or
nullptr
if not found. Do not free, it is owned by info.
◆ operator delete()
void Gio::DBus::InterfaceInfo::operator delete |
( |
void * |
, |
|
|
std::size_t |
|
|
) |
| |
|
protected |
◆ operator=()
◆ reference()
void Gio::DBus::InterfaceInfo::reference |
( |
| ) |
const |
Increment the reference count for this object.
You should never need to do this manually - use the object via a RefPtr instead.
◆ unreference()
void Gio::DBus::InterfaceInfo::unreference |
( |
| ) |
const |
Decrement the reference count for this object.
You should never need to do this manually - use the object via a RefPtr instead.
◆ wrap()
A Glib::wrap() method for this object.
- Parameters
-
object | The C instance. |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
- Returns
- A C++ instance that wraps this C instance.