glibmm  2.32.0
Public Member Functions | Protected Member Functions | Related Functions
Gio::DBus::InterfaceInfo Class Reference

Stores information about a D-Bus interface. More...

#include <giomm/dbusintrospection.h>

List of all members.

Public Member Functions

void reference () const
 Increment the reference count for this object.
void unreference () const
 Decrement the reference count for this object.
GDBusInterfaceInfo* gobj ()
 Provides access to the underlying C instance.
const GDBusInterfaceInfo* gobj () const
 Provides access to the underlying C instance.
GDBusInterfaceInfo* gobj_copy () const
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Glib::RefPtr< MethodInfolookup_method (const Glib::ustring& name)
 Looks up information about a method.
Glib::RefPtr< const MethodInfolookup_method (const Glib::ustring& name) const
 Looks up information about a method.
Glib::RefPtr< SignalInfolookup_signal (const Glib::ustring& name)
 Looks up information about a signal.
Glib::RefPtr< const SignalInfolookup_signal (const Glib::ustring& name) const
 Looks up information about a signal.
Glib::RefPtr< PropertyInfolookup_property (const Glib::ustring& name)
 Looks up information about a property.
Glib::RefPtr< const PropertyInfolookup_property (const Glib::ustring& name) const
 Looks up information about a property.

Protected Member Functions

 InterfaceInfo ()
void operator delete (void*, size_t)

Related Functions

(Note that these are not member functions.)

Glib::RefPtr
< Gio::DBus::InterfaceInfo
wrap (GDBusInterfaceInfo* object, bool take_copy=false)
 A Glib::wrap() method for this object.

Detailed Description

Stores information about a D-Bus interface.

Since glibmm 2.28:

Constructor & Destructor Documentation


Member Function Documentation

GDBusInterfaceInfo* Gio::DBus::InterfaceInfo::gobj ( )

Provides access to the underlying C instance.

const GDBusInterfaceInfo* Gio::DBus::InterfaceInfo::gobj ( ) const

Provides access to the underlying C instance.

GDBusInterfaceInfo* Gio::DBus::InterfaceInfo::gobj_copy ( ) const

Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.

Looks up information about a method.

This 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:
nameA D-Bus method name (typically in CamelCase).
Returns:
A DBusMethodInfo or 0 if not found. Do not free, it is owned by info.

Looks up information about a method.

This 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:
nameA D-Bus method name (typically in CamelCase).
Returns:
A DBusMethodInfo or 0 if not found. Do not free, it is owned by info.

Looks up information about a property.

This 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:
nameA D-Bus property name (typically in CamelCase).
Returns:
A DBusPropertyInfo or 0 if not found. Do not free, it is owned by info.

Looks up information about a property.

This 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:
nameA D-Bus property name (typically in CamelCase).
Returns:
A DBusPropertyInfo or 0 if not found. Do not free, it is owned by info.

Looks up information about a signal.

This 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:
nameA D-Bus signal name (typically in CamelCase).
Returns:
A DBusSignalInfo or 0 if not found. Do not free, it is owned by info.

Looks up information about a signal.

This 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:
nameA D-Bus signal name (typically in CamelCase).
Returns:
A DBusSignalInfo or 0 if not found. Do not free, it is owned by info.
void Gio::DBus::InterfaceInfo::operator delete ( void *  ,
size_t   
) [protected]

Increment the reference count for this object.

You should never need to do this manually - use the object via a RefPtr instead.

Decrement the reference count for this object.

You should never need to do this manually - use the object via a RefPtr instead.


Friends And Related Function Documentation

Glib::RefPtr< Gio::DBus::InterfaceInfo > wrap ( GDBusInterfaceInfo *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
objectThe C instance.
take_copyFalse 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.