glibmm 2.80.0
Public Member Functions | Protected Member Functions | Related Symbols | List of all members
Gio::DBus::MethodInfo Class Referencefinal

Stores information about a method on an D-Bus interface. More...

#include <giomm/dbusintrospection.h>

Public Member Functions

void reference () const
 Increment the reference count for this object.
 
void unreference () const
 Decrement the reference count for this object.
 
GDBusMethodInfogobj ()
 Provides access to the underlying C instance.
 
const GDBusMethodInfogobj () const
 Provides access to the underlying C instance.
 
GDBusMethodInfogobj_copy () const
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
 
 MethodInfo ()=delete
 
 MethodInfo (const MethodInfo &)=delete
 
MethodInfooperator= (const MethodInfo &)=delete
 

Protected Member Functions

void operator delete (void *, std::size_t)
 

Related Symbols

(Note that these are not member symbols.)

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

Detailed Description

Stores information about a method on an D-Bus interface.

Since glibmm 2.28:

Constructor & Destructor Documentation

◆ MethodInfo() [1/2]

Gio::DBus::MethodInfo::MethodInfo ( )
delete

◆ MethodInfo() [2/2]

Gio::DBus::MethodInfo::MethodInfo ( const MethodInfo )
delete

Member Function Documentation

◆ gobj() [1/2]

GDBusMethodInfo * Gio::DBus::MethodInfo::gobj ( )

Provides access to the underlying C instance.

◆ gobj() [2/2]

const GDBusMethodInfo * Gio::DBus::MethodInfo::gobj ( ) const

Provides access to the underlying C instance.

◆ gobj_copy()

GDBusMethodInfo * Gio::DBus::MethodInfo::gobj_copy ( ) const

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

◆ operator delete()

void Gio::DBus::MethodInfo::operator delete ( void ,
std::size_t   
)
protected

◆ operator=()

MethodInfo & Gio::DBus::MethodInfo::operator= ( const MethodInfo )
delete

◆ reference()

void Gio::DBus::MethodInfo::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::MethodInfo::unreference ( ) const

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 Symbol Documentation

◆ wrap()

Glib::RefPtr< Gio::DBus::MethodInfo > wrap ( GDBusMethodInfo 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.