MmGdbusObject

MmGdbusObject — Specialized GDBusObject types

Synopsis

                    MmGdbusObject;
struct              MmGdbusObjectIface;

MmGdbusModem *      mm_gdbus_object_peek_modem          (MmGdbusObject *object);
MmGdbusModem *      mm_gdbus_object_get_modem           (MmGdbusObject *object);
MmGdbusModem3gpp *  mm_gdbus_object_peek_modem3gpp      (MmGdbusObject *object);
MmGdbusModem3gpp *  mm_gdbus_object_get_modem3gpp       (MmGdbusObject *object);
MmGdbusModem3gppUssd * mm_gdbus_object_peek_modem3gpp_ussd
                                                        (MmGdbusObject *object);
MmGdbusModem3gppUssd * mm_gdbus_object_get_modem3gpp_ussd
                                                        (MmGdbusObject *object);
MmGdbusModemCdma *  mm_gdbus_object_peek_modem_cdma     (MmGdbusObject *object);
MmGdbusModemCdma *  mm_gdbus_object_get_modem_cdma      (MmGdbusObject *object);
MmGdbusModemLocation * mm_gdbus_object_peek_modem_location
                                                        (MmGdbusObject *object);
MmGdbusModemLocation * mm_gdbus_object_get_modem_location
                                                        (MmGdbusObject *object);
MmGdbusModemMessaging * mm_gdbus_object_peek_modem_messaging
                                                        (MmGdbusObject *object);
MmGdbusModemMessaging * mm_gdbus_object_get_modem_messaging
                                                        (MmGdbusObject *object);
MmGdbusModemTime *  mm_gdbus_object_peek_modem_time     (MmGdbusObject *object);
MmGdbusModemTime *  mm_gdbus_object_get_modem_time      (MmGdbusObject *object);
MmGdbusModemFirmware * mm_gdbus_object_peek_modem_firmware
                                                        (MmGdbusObject *object);
MmGdbusModemFirmware * mm_gdbus_object_get_modem_firmware
                                                        (MmGdbusObject *object);
MmGdbusModemOma *   mm_gdbus_object_peek_modem_oma      (MmGdbusObject *object);
MmGdbusModemOma *   mm_gdbus_object_get_modem_oma       (MmGdbusObject *object);
MmGdbusModemSimple * mm_gdbus_object_peek_modem_simple  (MmGdbusObject *object);
MmGdbusModemSimple * mm_gdbus_object_get_modem_simple   (MmGdbusObject *object);
MmGdbusModemSignal * mm_gdbus_object_peek_modem_signal  (MmGdbusObject *object);
MmGdbusModemSignal * mm_gdbus_object_get_modem_signal   (MmGdbusObject *object);

Object Hierarchy

  GInterface
   +----MmGdbusObject

Prerequisites

MmGdbusObject requires GDBusObject and GObject.

Known Implementations

MmGdbusObject is implemented by MMObject, MmGdbusObjectProxy and MmGdbusObjectSkeleton.

Properties

  "modem"                    MmGdbusModem*         : Read / Write
  "modem-cdma"               MmGdbusModemCdma*     : Read / Write
  "modem-firmware"           MmGdbusModemFirmware*  : Read / Write
  "modem-location"           MmGdbusModemLocation*  : Read / Write
  "modem-messaging"          MmGdbusModemMessaging*  : Read / Write
  "modem-oma"                MmGdbusModemOma*      : Read / Write
  "modem-signal"             MmGdbusModemSignal*   : Read / Write
  "modem-simple"             MmGdbusModemSimple*   : Read / Write
  "modem-time"               MmGdbusModemTime*     : Read / Write
  "modem3gpp"                MmGdbusModem3gpp*     : Read / Write
  "modem3gpp-ussd"           MmGdbusModem3gppUssd*  : Read / Write

Description

This section contains the MmGdbusObject, MmGdbusObjectProxy, and MmGdbusObjectSkeleton types which make it easier to work with objects implementing generated types for D-Bus interfaces.

Details

MmGdbusObject

typedef struct _MmGdbusObject MmGdbusObject;

The MmGdbusObject type is a specialized container of interfaces.


struct MmGdbusObjectIface

struct MmGdbusObjectIface {
  GTypeInterface parent_iface;
};

Virtual table for the MmGdbusObject interface.

GTypeInterface parent_iface;

The parent interface.

mm_gdbus_object_peek_modem ()

MmGdbusModem *      mm_gdbus_object_peek_modem          (MmGdbusObject *object);

Like mm_gdbus_object_get_modem() but doesn't increase the reference count on the returned object.

Warning

It is not safe to use the returned object if you are on another thread than the one where the GDBusObjectManagerClient or GDBusObjectManagerServer for object is running.

object :

A MmGdbusObject.

Returns :

A MmGdbusModem or NULL if object does not implement the interface. Do not free the returned object, it is owned by object. [transfer none]

mm_gdbus_object_get_modem ()

MmGdbusModem *      mm_gdbus_object_get_modem           (MmGdbusObject *object);

Gets the MmGdbusModem instance for the D-Bus interface org.freedesktop.ModemManager1.Modem on object, if any.

object :

A MmGdbusObject.

Returns :

A MmGdbusModem that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]

mm_gdbus_object_peek_modem3gpp ()

MmGdbusModem3gpp *  mm_gdbus_object_peek_modem3gpp      (MmGdbusObject *object);

Like mm_gdbus_object_get_modem3gpp() but doesn't increase the reference count on the returned object.

Warning

It is not safe to use the returned object if you are on another thread than the one where the GDBusObjectManagerClient or GDBusObjectManagerServer for object is running.

object :

A MmGdbusObject.

Returns :

A MmGdbusModem3gpp or NULL if object does not implement the interface. Do not free the returned object, it is owned by object. [transfer none]

mm_gdbus_object_get_modem3gpp ()

MmGdbusModem3gpp *  mm_gdbus_object_get_modem3gpp       (MmGdbusObject *object);

Gets the MmGdbusModem3gpp instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.Modem3gpp on object, if any.

object :

A MmGdbusObject.

Returns :

A MmGdbusModem3gpp that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]

mm_gdbus_object_peek_modem3gpp_ussd ()

MmGdbusModem3gppUssd * mm_gdbus_object_peek_modem3gpp_ussd
                                                        (MmGdbusObject *object);

Like mm_gdbus_object_get_modem3gpp_ussd() but doesn't increase the reference count on the returned object.

Warning

It is not safe to use the returned object if you are on another thread than the one where the GDBusObjectManagerClient or GDBusObjectManagerServer for object is running.

object :

A MmGdbusObject.

Returns :

A MmGdbusModem3gppUssd or NULL if object does not implement the interface. Do not free the returned object, it is owned by object. [transfer none]

mm_gdbus_object_get_modem3gpp_ussd ()

MmGdbusModem3gppUssd * mm_gdbus_object_get_modem3gpp_ussd
                                                        (MmGdbusObject *object);

Gets the MmGdbusModem3gppUssd instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.Modem3gpp.Ussd on object, if any.

object :

A MmGdbusObject.

Returns :

A MmGdbusModem3gppUssd that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]

mm_gdbus_object_peek_modem_cdma ()

MmGdbusModemCdma *  mm_gdbus_object_peek_modem_cdma     (MmGdbusObject *object);

Like mm_gdbus_object_get_modem_cdma() but doesn't increase the reference count on the returned object.

Warning

It is not safe to use the returned object if you are on another thread than the one where the GDBusObjectManagerClient or GDBusObjectManagerServer for object is running.

object :

A MmGdbusObject.

Returns :

A MmGdbusModemCdma or NULL if object does not implement the interface. Do not free the returned object, it is owned by object. [transfer none]

mm_gdbus_object_get_modem_cdma ()

MmGdbusModemCdma *  mm_gdbus_object_get_modem_cdma      (MmGdbusObject *object);

Gets the MmGdbusModemCdma instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.ModemCdma on object, if any.

object :

A MmGdbusObject.

Returns :

A MmGdbusModemCdma that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]

mm_gdbus_object_peek_modem_location ()

MmGdbusModemLocation * mm_gdbus_object_peek_modem_location
                                                        (MmGdbusObject *object);

Like mm_gdbus_object_get_modem_location() but doesn't increase the reference count on the returned object.

Warning

It is not safe to use the returned object if you are on another thread than the one where the GDBusObjectManagerClient or GDBusObjectManagerServer for object is running.

object :

A MmGdbusObject.

Returns :

A MmGdbusModemLocation or NULL if object does not implement the interface. Do not free the returned object, it is owned by object. [transfer none]

mm_gdbus_object_get_modem_location ()

MmGdbusModemLocation * mm_gdbus_object_get_modem_location
                                                        (MmGdbusObject *object);

Gets the MmGdbusModemLocation instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.Location on object, if any.

object :

A MmGdbusObject.

Returns :

A MmGdbusModemLocation that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]

mm_gdbus_object_peek_modem_messaging ()

MmGdbusModemMessaging * mm_gdbus_object_peek_modem_messaging
                                                        (MmGdbusObject *object);

Like mm_gdbus_object_get_modem_messaging() but doesn't increase the reference count on the returned object.

Warning

It is not safe to use the returned object if you are on another thread than the one where the GDBusObjectManagerClient or GDBusObjectManagerServer for object is running.

object :

A MmGdbusObject.

Returns :

A MmGdbusModemMessaging or NULL if object does not implement the interface. Do not free the returned object, it is owned by object. [transfer none]

mm_gdbus_object_get_modem_messaging ()

MmGdbusModemMessaging * mm_gdbus_object_get_modem_messaging
                                                        (MmGdbusObject *object);

Gets the MmGdbusModemMessaging instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.Messaging on object, if any.

object :

A MmGdbusObject.

Returns :

A MmGdbusModemMessaging that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]

mm_gdbus_object_peek_modem_time ()

MmGdbusModemTime *  mm_gdbus_object_peek_modem_time     (MmGdbusObject *object);

Like mm_gdbus_object_get_modem_time() but doesn't increase the reference count on the returned object.

Warning

It is not safe to use the returned object if you are on another thread than the one where the GDBusObjectManagerClient or GDBusObjectManagerServer for object is running.

object :

A MmGdbusObject.

Returns :

A MmGdbusModemTime or NULL if object does not implement the interface. Do not free the returned object, it is owned by object. [transfer none]

mm_gdbus_object_get_modem_time ()

MmGdbusModemTime *  mm_gdbus_object_get_modem_time      (MmGdbusObject *object);

Gets the MmGdbusModemTime instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.Time on object, if any.

object :

A MmGdbusObject.

Returns :

A MmGdbusModemTime that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]

mm_gdbus_object_peek_modem_firmware ()

MmGdbusModemFirmware * mm_gdbus_object_peek_modem_firmware
                                                        (MmGdbusObject *object);

Like mm_gdbus_object_get_modem_firmware() but doesn't increase the reference count on the returned object.

Warning

It is not safe to use the returned object if you are on another thread than the one where the GDBusObjectManagerClient or GDBusObjectManagerServer for object is running.

object :

A MmGdbusObject.

Returns :

A MmGdbusModemFirmware or NULL if object does not implement the interface. Do not free the returned object, it is owned by object. [transfer none]

mm_gdbus_object_get_modem_firmware ()

MmGdbusModemFirmware * mm_gdbus_object_get_modem_firmware
                                                        (MmGdbusObject *object);

Gets the MmGdbusModemFirmware instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.Firmware on object, if any.

object :

A MmGdbusObject.

Returns :

A MmGdbusModemFirmware that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]

mm_gdbus_object_peek_modem_oma ()

MmGdbusModemOma *   mm_gdbus_object_peek_modem_oma      (MmGdbusObject *object);

Like mm_gdbus_object_get_modem_oma() but doesn't increase the reference count on the returned object.

Warning

It is not safe to use the returned object if you are on another thread than the one where the GDBusObjectManagerClient or GDBusObjectManagerServer for object is running.

object :

A MmGdbusObject.

Returns :

A MmGdbusModemOma or NULL if object does not implement the interface. Do not free the returned object, it is owned by object. [transfer none]

mm_gdbus_object_get_modem_oma ()

MmGdbusModemOma *   mm_gdbus_object_get_modem_oma       (MmGdbusObject *object);

Gets the MmGdbusModemOma instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.Oma on object, if any.

object :

A MmGdbusObject.

Returns :

A MmGdbusModemOma that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]

mm_gdbus_object_peek_modem_simple ()

MmGdbusModemSimple * mm_gdbus_object_peek_modem_simple  (MmGdbusObject *object);

Like mm_gdbus_object_get_modem_simple() but doesn't increase the reference count on the returned object.

Warning

It is not safe to use the returned object if you are on another thread than the one where the GDBusObjectManagerClient or GDBusObjectManagerServer for object is running.

object :

A MmGdbusObject.

Returns :

A MmGdbusModemSimple or NULL if object does not implement the interface. Do not free the returned object, it is owned by object. [transfer none]

mm_gdbus_object_get_modem_simple ()

MmGdbusModemSimple * mm_gdbus_object_get_modem_simple   (MmGdbusObject *object);

Gets the MmGdbusModemSimple instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.Simple on object, if any.

object :

A MmGdbusObject.

Returns :

A MmGdbusModemSimple that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]

mm_gdbus_object_peek_modem_signal ()

MmGdbusModemSignal * mm_gdbus_object_peek_modem_signal  (MmGdbusObject *object);

Like mm_gdbus_object_get_modem_signal() but doesn't increase the reference count on the returned object.

Warning

It is not safe to use the returned object if you are on another thread than the one where the GDBusObjectManagerClient or GDBusObjectManagerServer for object is running.

object :

A MmGdbusObject.

Returns :

A MmGdbusModemSignal or NULL if object does not implement the interface. Do not free the returned object, it is owned by object. [transfer none]

mm_gdbus_object_get_modem_signal ()

MmGdbusModemSignal * mm_gdbus_object_get_modem_signal   (MmGdbusObject *object);

Gets the MmGdbusModemSignal instance for the D-Bus interface org.freedesktop.ModemManager1.Modem.Signal on object, if any.

object :

A MmGdbusObject.

Returns :

A MmGdbusModemSignal that must be freed with g_object_unref() or NULL if object does not implement the interface. [transfer full]

Property Details

The "modem" property

  "modem"                    MmGdbusModem*         : Read / Write

The MmGdbusModem instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem, if any.

Connect to the "notify" signal to get informed of property changes.


The "modem-cdma" property

  "modem-cdma"               MmGdbusModemCdma*     : Read / Write

The MmGdbusModemCdma instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.ModemCdma, if any.

Connect to the "notify" signal to get informed of property changes.


The "modem-firmware" property

  "modem-firmware"           MmGdbusModemFirmware*  : Read / Write

The MmGdbusModemFirmware instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.Firmware, if any.

Connect to the "notify" signal to get informed of property changes.


The "modem-location" property

  "modem-location"           MmGdbusModemLocation*  : Read / Write

The MmGdbusModemLocation instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.Location, if any.

Connect to the "notify" signal to get informed of property changes.


The "modem-messaging" property

  "modem-messaging"          MmGdbusModemMessaging*  : Read / Write

The MmGdbusModemMessaging instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.Messaging, if any.

Connect to the "notify" signal to get informed of property changes.


The "modem-oma" property

  "modem-oma"                MmGdbusModemOma*      : Read / Write

The MmGdbusModemOma instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.Oma, if any.

Connect to the "notify" signal to get informed of property changes.


The "modem-signal" property

  "modem-signal"             MmGdbusModemSignal*   : Read / Write

The MmGdbusModemSignal instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.Signal, if any.

Connect to the "notify" signal to get informed of property changes.


The "modem-simple" property

  "modem-simple"             MmGdbusModemSimple*   : Read / Write

The MmGdbusModemSimple instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.Simple, if any.

Connect to the "notify" signal to get informed of property changes.


The "modem-time" property

  "modem-time"               MmGdbusModemTime*     : Read / Write

The MmGdbusModemTime instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.Time, if any.

Connect to the "notify" signal to get informed of property changes.


The "modem3gpp" property

  "modem3gpp"                MmGdbusModem3gpp*     : Read / Write

The MmGdbusModem3gpp instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.Modem3gpp, if any.

Connect to the "notify" signal to get informed of property changes.


The "modem3gpp-ussd" property

  "modem3gpp-ussd"           MmGdbusModem3gppUssd*  : Read / Write

The MmGdbusModem3gppUssd instance corresponding to the D-Bus interface org.freedesktop.ModemManager1.Modem.Modem3gpp.Ussd, if any.

Connect to the "notify" signal to get informed of property changes.