GthGdbusObjectManagerClient

GthGdbusObjectManagerClient

Functions

GDBusInterfaceInfo * gth_gdbus_cooling_device_interface_info ()
guint gth_gdbus_cooling_device_override_properties ()
const gchar * gth_gdbus_cooling_device_get_type_ ()
gchar * gth_gdbus_cooling_device_dup_type_ ()
void gth_gdbus_cooling_device_set_type_ ()
gint gth_gdbus_cooling_device_get_current_state ()
void gth_gdbus_cooling_device_set_current_state ()
gint gth_gdbus_cooling_device_get_max_state ()
void gth_gdbus_cooling_device_set_max_state ()
void gth_gdbus_cooling_device_proxy_new ()
GthGdbusCoolingDevice * gth_gdbus_cooling_device_proxy_new_finish ()
GthGdbusCoolingDevice * gth_gdbus_cooling_device_proxy_new_sync ()
void gth_gdbus_cooling_device_proxy_new_for_bus ()
GthGdbusCoolingDevice * gth_gdbus_cooling_device_proxy_new_for_bus_finish ()
GthGdbusCoolingDevice * gth_gdbus_cooling_device_proxy_new_for_bus_sync ()
GthGdbusCoolingDevice * gth_gdbus_cooling_device_skeleton_new ()
GDBusInterfaceInfo * gth_gdbus_thermal_zone_interface_info ()
guint gth_gdbus_thermal_zone_override_properties ()
gint gth_gdbus_thermal_zone_get_temperature ()
void gth_gdbus_thermal_zone_set_temperature ()
const gchar * gth_gdbus_thermal_zone_get_type_ ()
gchar * gth_gdbus_thermal_zone_dup_type_ ()
void gth_gdbus_thermal_zone_set_type_ ()
GVariant * gth_gdbus_thermal_zone_get_trip_points ()
GVariant * gth_gdbus_thermal_zone_dup_trip_points ()
void gth_gdbus_thermal_zone_set_trip_points ()
const gchar *const * gth_gdbus_thermal_zone_get_cooling_devices ()
gchar ** gth_gdbus_thermal_zone_dup_cooling_devices ()
void gth_gdbus_thermal_zone_set_cooling_devices ()
void gth_gdbus_thermal_zone_proxy_new ()
GthGdbusThermalZone * gth_gdbus_thermal_zone_proxy_new_finish ()
GthGdbusThermalZone * gth_gdbus_thermal_zone_proxy_new_sync ()
void gth_gdbus_thermal_zone_proxy_new_for_bus ()
GthGdbusThermalZone * gth_gdbus_thermal_zone_proxy_new_for_bus_finish ()
GthGdbusThermalZone * gth_gdbus_thermal_zone_proxy_new_for_bus_sync ()
GthGdbusThermalZone * gth_gdbus_thermal_zone_skeleton_new ()
GthGdbusCoolingDevice * gth_gdbus_object_get_cooling_device ()
GthGdbusThermalZone * gth_gdbus_object_get_thermal_zone ()
GthGdbusCoolingDevice * gth_gdbus_object_peek_cooling_device ()
GthGdbusThermalZone * gth_gdbus_object_peek_thermal_zone ()
GthGdbusObjectProxy * gth_gdbus_object_proxy_new ()
GthGdbusObjectSkeleton * gth_gdbus_object_skeleton_new ()
void gth_gdbus_object_skeleton_set_cooling_device ()
void gth_gdbus_object_skeleton_set_thermal_zone ()
GType gth_gdbus_object_manager_client_get_proxy_type ()
void gth_gdbus_object_manager_client_new ()
GDBusObjectManager * gth_gdbus_object_manager_client_new_finish ()
GDBusObjectManager * gth_gdbus_object_manager_client_new_sync ()
void gth_gdbus_object_manager_client_new_for_bus ()
GDBusObjectManager * gth_gdbus_object_manager_client_new_for_bus_finish ()
GDBusObjectManager * gth_gdbus_object_manager_client_new_for_bus_sync ()

Properties

gint current-state Read / Write
gint max-state Read / Write
gchar * type Read / Write
GthGdbusCoolingDevice * cooling-device Read / Write
GthGdbusThermalZone * thermal-zone Read / Write
GStrv cooling-devices Read / Write
gint temperature Read / Write
GVariant * trip-points Read / Write
gchar * type Read / Write

Types and Values

Object Hierarchy

    GInterface
    ├── GthGdbusCoolingDevice
    ├── GthGdbusObject
    ╰── GthGdbusThermalZone
    GObject
    ├── GDBusInterfaceSkeleton
       ├── GthGdbusCoolingDeviceSkeleton
       ╰── GthGdbusThermalZoneSkeleton
    ├── GDBusObjectManagerClient
       ╰── GthGdbusObjectManagerClient
           ╰── GthManager
    ├── GDBusObjectProxy
       ╰── GthGdbusObjectProxy
    ├── GDBusObjectSkeleton
       ╰── GthGdbusObjectSkeleton
    ╰── GDBusProxy
        ├── GthGdbusCoolingDeviceProxy
           ╰── GthCoolingDevice
        ╰── GthGdbusThermalZoneProxy
            ╰── GthThermalZone

Prerequisites

GthGdbusCoolingDevice requires GObject.

GthGdbusObject requires GDBusObject and GObject.

GthGdbusThermalZone requires GObject.

Implemented Interfaces

GthGdbusCoolingDeviceProxy implements GDBusInterface, GInitable, GAsyncInitable and GthGdbusCoolingDevice.

GthGdbusCoolingDeviceSkeleton implements GDBusInterface and GthGdbusCoolingDevice.

GthGdbusThermalZoneProxy implements GDBusInterface, GInitable, GAsyncInitable and GthGdbusThermalZone.

GthGdbusThermalZoneSkeleton implements GDBusInterface and GthGdbusThermalZone.

GthGdbusObjectProxy implements GDBusObject and GthGdbusObject.

GthGdbusObjectSkeleton implements GDBusObject and GthGdbusObject.

GthGdbusObjectManagerClient implements GInitable, GAsyncInitable and GDBusObjectManager.

Known Implementations

GthGdbusCoolingDevice is implemented by GthCoolingDevice, GthGdbusCoolingDeviceProxy and GthGdbusCoolingDeviceSkeleton.

GthGdbusObject is implemented by GthGdbusObjectProxy and GthGdbusObjectSkeleton.

GthGdbusThermalZone is implemented by GthGdbusThermalZoneProxy, GthGdbusThermalZoneSkeleton and GthThermalZone.

Description

Functions

gth_gdbus_cooling_device_interface_info ()

GDBusInterfaceInfo *
gth_gdbus_cooling_device_interface_info
                               (void);

Gets a machine-readable description of the org.sigxcpu.Thermal.CoolingDevice D-Bus interface.

Returns

A GDBusInterfaceInfo. Do not free.

[transfer none]


gth_gdbus_cooling_device_override_properties ()

guint
gth_gdbus_cooling_device_override_properties
                               (GObjectClass *klass,
                                guint property_id_begin);

Overrides all GObject properties in the GthGdbusCoolingDevice interface for a concrete class. The properties are overridden in the order they are defined.

Parameters

klass

The class structure for a GObject derived class.

 

property_id_begin

The property id to assign to the first overridden property.

 

Returns

The last property id.


gth_gdbus_cooling_device_get_type_ ()

const gchar *
gth_gdbus_cooling_device_get_type_ (GthGdbusCoolingDevice *object);

Gets the value of the "Type" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object was constructed. Use gth_gdbus_cooling_device_dup_type_() if on another thread.

[skip]

Parameters

object

A GthGdbusCoolingDevice.

 

Returns

The property value or NULL if the property is not set. Do not free the returned value, it belongs to object .

[transfer none][nullable]


gth_gdbus_cooling_device_dup_type_ ()

gchar *
gth_gdbus_cooling_device_dup_type_ (GthGdbusCoolingDevice *object);

Gets a copy of the "Type" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

[skip]

Parameters

object

A GthGdbusCoolingDevice.

 

Returns

The property value or NULL if the property is not set. The returned value should be freed with g_free().

[transfer full][nullable]


gth_gdbus_cooling_device_set_type_ ()

void
gth_gdbus_cooling_device_set_type_ (GthGdbusCoolingDevice *object,
                                    const gchar *value);

Sets the "Type" D-Bus property to value .

Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.

[skip]

Parameters

object

A GthGdbusCoolingDevice.

 

value

The value to set.

 

gth_gdbus_cooling_device_get_current_state ()

gint
gth_gdbus_cooling_device_get_current_state
                               (GthGdbusCoolingDevice *object);

Gets the value of the "CurrentState" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

[skip]

Parameters

object

A GthGdbusCoolingDevice.

 

Returns

The property value.


gth_gdbus_cooling_device_set_current_state ()

void
gth_gdbus_cooling_device_set_current_state
                               (GthGdbusCoolingDevice *object,
                                gint value);

Sets the "CurrentState" D-Bus property to value .

Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.

[skip]

Parameters

object

A GthGdbusCoolingDevice.

 

value

The value to set.

 

gth_gdbus_cooling_device_get_max_state ()

gint
gth_gdbus_cooling_device_get_max_state
                               (GthGdbusCoolingDevice *object);

Gets the value of the "MaxState" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

[skip]

Parameters

object

A GthGdbusCoolingDevice.

 

Returns

The property value.


gth_gdbus_cooling_device_set_max_state ()

void
gth_gdbus_cooling_device_set_max_state
                               (GthGdbusCoolingDevice *object,
                                gint value);

Sets the "MaxState" D-Bus property to value .

Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.

[skip]

Parameters

object

A GthGdbusCoolingDevice.

 

value

The value to set.

 

gth_gdbus_cooling_device_proxy_new ()

void
gth_gdbus_cooling_device_proxy_new (GDBusConnection *connection,
                                    GDBusProxyFlags flags,
                                    const gchar *name,
                                    const gchar *object_path,
                                    GCancellable *cancellable,
                                    GAsyncReadyCallback callback,
                                    gpointer user_data);

Asynchronously creates a proxy for the D-Bus interface org.sigxcpu.Thermal.CoolingDevice. See g_dbus_proxy_new() for more details.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from. You can then call gth_gdbus_cooling_device_proxy_new_finish() to get the result of the operation.

See gth_gdbus_cooling_device_proxy_new_sync() for the synchronous, blocking version of this constructor.

Parameters

connection

A GDBusConnection.

 

flags

Flags from the GDBusProxyFlags enumeration.

 

name

A bus name (well-known or unique) or NULL if connection is not a message bus connection.

[nullable]

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

callback

A GAsyncReadyCallback to call when the request is satisfied.

 

user_data

User data to pass to callback .

 

gth_gdbus_cooling_device_proxy_new_finish ()

GthGdbusCoolingDevice *
gth_gdbus_cooling_device_proxy_new_finish
                               (GAsyncResult *res,
                                GError **error);

Finishes an operation started with gth_gdbus_cooling_device_proxy_new().

Parameters

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to gth_gdbus_cooling_device_proxy_new().

 

error

Return location for error or NULL

 

Returns

The constructed proxy object or NULL if error is set.

[transfer full][type GthGdbusCoolingDeviceProxy]


gth_gdbus_cooling_device_proxy_new_sync ()

GthGdbusCoolingDevice *
gth_gdbus_cooling_device_proxy_new_sync
                               (GDBusConnection *connection,
                                GDBusProxyFlags flags,
                                const gchar *name,
                                const gchar *object_path,
                                GCancellable *cancellable,
                                GError **error);

Synchronously creates a proxy for the D-Bus interface org.sigxcpu.Thermal.CoolingDevice. See g_dbus_proxy_new_sync() for more details.

The calling thread is blocked until a reply is received.

See gth_gdbus_cooling_device_proxy_new() for the asynchronous version of this constructor.

Parameters

connection

A GDBusConnection.

 

flags

Flags from the GDBusProxyFlags enumeration.

 

name

A bus name (well-known or unique) or NULL if connection is not a message bus connection.

[nullable]

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

error

Return location for error or NULL

 

Returns

The constructed proxy object or NULL if error is set.

[transfer full][type GthGdbusCoolingDeviceProxy]


gth_gdbus_cooling_device_proxy_new_for_bus ()

void
gth_gdbus_cooling_device_proxy_new_for_bus
                               (GBusType bus_type,
                                GDBusProxyFlags flags,
                                const gchar *name,
                                const gchar *object_path,
                                GCancellable *cancellable,
                                GAsyncReadyCallback callback,
                                gpointer user_data);

Like gth_gdbus_cooling_device_proxy_new() but takes a GBusType instead of a GDBusConnection.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from. You can then call gth_gdbus_cooling_device_proxy_new_for_bus_finish() to get the result of the operation.

See gth_gdbus_cooling_device_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.

Parameters

bus_type

A GBusType.

 

flags

Flags from the GDBusProxyFlags enumeration.

 

name

A bus name (well-known or unique).

 

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

callback

A GAsyncReadyCallback to call when the request is satisfied.

 

user_data

User data to pass to callback .

 

gth_gdbus_cooling_device_proxy_new_for_bus_finish ()

GthGdbusCoolingDevice *
gth_gdbus_cooling_device_proxy_new_for_bus_finish
                               (GAsyncResult *res,
                                GError **error);

Finishes an operation started with gth_gdbus_cooling_device_proxy_new_for_bus().

Parameters

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to gth_gdbus_cooling_device_proxy_new_for_bus().

 

error

Return location for error or NULL

 

Returns

The constructed proxy object or NULL if error is set.

[transfer full][type GthGdbusCoolingDeviceProxy]


gth_gdbus_cooling_device_proxy_new_for_bus_sync ()

GthGdbusCoolingDevice *
gth_gdbus_cooling_device_proxy_new_for_bus_sync
                               (GBusType bus_type,
                                GDBusProxyFlags flags,
                                const gchar *name,
                                const gchar *object_path,
                                GCancellable *cancellable,
                                GError **error);

Like gth_gdbus_cooling_device_proxy_new_sync() but takes a GBusType instead of a GDBusConnection.

The calling thread is blocked until a reply is received.

See gth_gdbus_cooling_device_proxy_new_for_bus() for the asynchronous version of this constructor.

Parameters

bus_type

A GBusType.

 

flags

Flags from the GDBusProxyFlags enumeration.

 

name

A bus name (well-known or unique).

 

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

error

Return location for error or NULL

 

Returns

The constructed proxy object or NULL if error is set.

[transfer full][type GthGdbusCoolingDeviceProxy]


gth_gdbus_cooling_device_skeleton_new ()

GthGdbusCoolingDevice *
gth_gdbus_cooling_device_skeleton_new (void);

Creates a skeleton object for the D-Bus interface org.sigxcpu.Thermal.CoolingDevice.

Returns

The skeleton object.

[transfer full][type GthGdbusCoolingDeviceSkeleton]


gth_gdbus_thermal_zone_interface_info ()

GDBusInterfaceInfo *
gth_gdbus_thermal_zone_interface_info (void);

Gets a machine-readable description of the org.sigxcpu.Thermal.ThermalZone D-Bus interface.

Returns

A GDBusInterfaceInfo. Do not free.

[transfer none]


gth_gdbus_thermal_zone_override_properties ()

guint
gth_gdbus_thermal_zone_override_properties
                               (GObjectClass *klass,
                                guint property_id_begin);

Overrides all GObject properties in the GthGdbusThermalZone interface for a concrete class. The properties are overridden in the order they are defined.

Parameters

klass

The class structure for a GObject derived class.

 

property_id_begin

The property id to assign to the first overridden property.

 

Returns

The last property id.


gth_gdbus_thermal_zone_get_temperature ()

gint
gth_gdbus_thermal_zone_get_temperature
                               (GthGdbusThermalZone *object);

Gets the value of the "Temperature" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

[skip]

Parameters

object

A GthGdbusThermalZone.

 

Returns

The property value.


gth_gdbus_thermal_zone_set_temperature ()

void
gth_gdbus_thermal_zone_set_temperature
                               (GthGdbusThermalZone *object,
                                gint value);

Sets the "Temperature" D-Bus property to value .

Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.

[skip]

Parameters

object

A GthGdbusThermalZone.

 

value

The value to set.

 

gth_gdbus_thermal_zone_get_type_ ()

const gchar *
gth_gdbus_thermal_zone_get_type_ (GthGdbusThermalZone *object);

Gets the value of the "Type" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object was constructed. Use gth_gdbus_thermal_zone_dup_type_() if on another thread.

[skip]

Parameters

object

A GthGdbusThermalZone.

 

Returns

The property value or NULL if the property is not set. Do not free the returned value, it belongs to object .

[transfer none][nullable]


gth_gdbus_thermal_zone_dup_type_ ()

gchar *
gth_gdbus_thermal_zone_dup_type_ (GthGdbusThermalZone *object);

Gets a copy of the "Type" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

[skip]

Parameters

object

A GthGdbusThermalZone.

 

Returns

The property value or NULL if the property is not set. The returned value should be freed with g_free().

[transfer full][nullable]


gth_gdbus_thermal_zone_set_type_ ()

void
gth_gdbus_thermal_zone_set_type_ (GthGdbusThermalZone *object,
                                  const gchar *value);

Sets the "Type" D-Bus property to value .

Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.

[skip]

Parameters

object

A GthGdbusThermalZone.

 

value

The value to set.

 

gth_gdbus_thermal_zone_get_trip_points ()

GVariant *
gth_gdbus_thermal_zone_get_trip_points
                               (GthGdbusThermalZone *object);

Gets the value of the "TripPoints" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object was constructed. Use gth_gdbus_thermal_zone_dup_trip_points() if on another thread.

[skip]

Parameters

object

A GthGdbusThermalZone.

 

Returns

The property value or NULL if the property is not set. Do not free the returned value, it belongs to object .

[transfer none][nullable]


gth_gdbus_thermal_zone_dup_trip_points ()

GVariant *
gth_gdbus_thermal_zone_dup_trip_points
                               (GthGdbusThermalZone *object);

Gets a copy of the "TripPoints" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

[skip]

Parameters

object

A GthGdbusThermalZone.

 

Returns

The property value or NULL if the property is not set. The returned value should be freed with g_variant_unref().

[transfer full][nullable]


gth_gdbus_thermal_zone_set_trip_points ()

void
gth_gdbus_thermal_zone_set_trip_points
                               (GthGdbusThermalZone *object,
                                GVariant *value);

Sets the "TripPoints" D-Bus property to value .

Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.

[skip]

Parameters

object

A GthGdbusThermalZone.

 

value

The value to set.

 

gth_gdbus_thermal_zone_get_cooling_devices ()

const gchar *const *
gth_gdbus_thermal_zone_get_cooling_devices
                               (GthGdbusThermalZone *object);

Gets the value of the "CoolingDevices" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where object was constructed. Use gth_gdbus_thermal_zone_dup_cooling_devices() if on another thread.

[skip]

Parameters

object

A GthGdbusThermalZone.

 

Returns

The property value or NULL if the property is not set. Do not free the returned value, it belongs to object .

[transfer none][nullable]


gth_gdbus_thermal_zone_dup_cooling_devices ()

gchar **
gth_gdbus_thermal_zone_dup_cooling_devices
                               (GthGdbusThermalZone *object);

Gets a copy of the "CoolingDevices" D-Bus property.

Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.

[skip]

Parameters

object

A GthGdbusThermalZone.

 

Returns

The property value or NULL if the property is not set. The returned value should be freed with g_strfreev().

[transfer full][nullable]


gth_gdbus_thermal_zone_set_cooling_devices ()

void
gth_gdbus_thermal_zone_set_cooling_devices
                               (GthGdbusThermalZone *object,
                                const gchar *const *value);

Sets the "CoolingDevices" D-Bus property to value .

Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.

[skip]

Parameters

object

A GthGdbusThermalZone.

 

value

The value to set.

 

gth_gdbus_thermal_zone_proxy_new ()

void
gth_gdbus_thermal_zone_proxy_new (GDBusConnection *connection,
                                  GDBusProxyFlags flags,
                                  const gchar *name,
                                  const gchar *object_path,
                                  GCancellable *cancellable,
                                  GAsyncReadyCallback callback,
                                  gpointer user_data);

Asynchronously creates a proxy for the D-Bus interface org.sigxcpu.Thermal.ThermalZone. See g_dbus_proxy_new() for more details.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from. You can then call gth_gdbus_thermal_zone_proxy_new_finish() to get the result of the operation.

See gth_gdbus_thermal_zone_proxy_new_sync() for the synchronous, blocking version of this constructor.

Parameters

connection

A GDBusConnection.

 

flags

Flags from the GDBusProxyFlags enumeration.

 

name

A bus name (well-known or unique) or NULL if connection is not a message bus connection.

[nullable]

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

callback

A GAsyncReadyCallback to call when the request is satisfied.

 

user_data

User data to pass to callback .

 

gth_gdbus_thermal_zone_proxy_new_finish ()

GthGdbusThermalZone *
gth_gdbus_thermal_zone_proxy_new_finish
                               (GAsyncResult *res,
                                GError **error);

Finishes an operation started with gth_gdbus_thermal_zone_proxy_new().

Parameters

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to gth_gdbus_thermal_zone_proxy_new().

 

error

Return location for error or NULL

 

Returns

The constructed proxy object or NULL if error is set.

[transfer full][type GthGdbusThermalZoneProxy]


gth_gdbus_thermal_zone_proxy_new_sync ()

GthGdbusThermalZone *
gth_gdbus_thermal_zone_proxy_new_sync (GDBusConnection *connection,
                                       GDBusProxyFlags flags,
                                       const gchar *name,
                                       const gchar *object_path,
                                       GCancellable *cancellable,
                                       GError **error);

Synchronously creates a proxy for the D-Bus interface org.sigxcpu.Thermal.ThermalZone. See g_dbus_proxy_new_sync() for more details.

The calling thread is blocked until a reply is received.

See gth_gdbus_thermal_zone_proxy_new() for the asynchronous version of this constructor.

Parameters

connection

A GDBusConnection.

 

flags

Flags from the GDBusProxyFlags enumeration.

 

name

A bus name (well-known or unique) or NULL if connection is not a message bus connection.

[nullable]

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

error

Return location for error or NULL

 

Returns

The constructed proxy object or NULL if error is set.

[transfer full][type GthGdbusThermalZoneProxy]


gth_gdbus_thermal_zone_proxy_new_for_bus ()

void
gth_gdbus_thermal_zone_proxy_new_for_bus
                               (GBusType bus_type,
                                GDBusProxyFlags flags,
                                const gchar *name,
                                const gchar *object_path,
                                GCancellable *cancellable,
                                GAsyncReadyCallback callback,
                                gpointer user_data);

Like gth_gdbus_thermal_zone_proxy_new() but takes a GBusType instead of a GDBusConnection.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from. You can then call gth_gdbus_thermal_zone_proxy_new_for_bus_finish() to get the result of the operation.

See gth_gdbus_thermal_zone_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.

Parameters

bus_type

A GBusType.

 

flags

Flags from the GDBusProxyFlags enumeration.

 

name

A bus name (well-known or unique).

 

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

callback

A GAsyncReadyCallback to call when the request is satisfied.

 

user_data

User data to pass to callback .

 

gth_gdbus_thermal_zone_proxy_new_for_bus_finish ()

GthGdbusThermalZone *
gth_gdbus_thermal_zone_proxy_new_for_bus_finish
                               (GAsyncResult *res,
                                GError **error);

Finishes an operation started with gth_gdbus_thermal_zone_proxy_new_for_bus().

Parameters

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to gth_gdbus_thermal_zone_proxy_new_for_bus().

 

error

Return location for error or NULL

 

Returns

The constructed proxy object or NULL if error is set.

[transfer full][type GthGdbusThermalZoneProxy]


gth_gdbus_thermal_zone_proxy_new_for_bus_sync ()

GthGdbusThermalZone *
gth_gdbus_thermal_zone_proxy_new_for_bus_sync
                               (GBusType bus_type,
                                GDBusProxyFlags flags,
                                const gchar *name,
                                const gchar *object_path,
                                GCancellable *cancellable,
                                GError **error);

Like gth_gdbus_thermal_zone_proxy_new_sync() but takes a GBusType instead of a GDBusConnection.

The calling thread is blocked until a reply is received.

See gth_gdbus_thermal_zone_proxy_new_for_bus() for the asynchronous version of this constructor.

Parameters

bus_type

A GBusType.

 

flags

Flags from the GDBusProxyFlags enumeration.

 

name

A bus name (well-known or unique).

 

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

error

Return location for error or NULL

 

Returns

The constructed proxy object or NULL if error is set.

[transfer full][type GthGdbusThermalZoneProxy]


gth_gdbus_thermal_zone_skeleton_new ()

GthGdbusThermalZone *
gth_gdbus_thermal_zone_skeleton_new (void);

Creates a skeleton object for the D-Bus interface org.sigxcpu.Thermal.ThermalZone.

Returns

The skeleton object.

[transfer full][type GthGdbusThermalZoneSkeleton]


gth_gdbus_object_get_cooling_device ()

GthGdbusCoolingDevice *
gth_gdbus_object_get_cooling_device (GthGdbusObject *object);

Gets the GthGdbusCoolingDevice instance for the D-Bus interface org.sigxcpu.Thermal.CoolingDevice on object , if any.

Parameters

object

A GthGdbusObject.

 

Returns

A GthGdbusCoolingDevice that must be freed with g_object_unref() or NULL if object does not implement the interface.

[transfer full][nullable]


gth_gdbus_object_get_thermal_zone ()

GthGdbusThermalZone *
gth_gdbus_object_get_thermal_zone (GthGdbusObject *object);

Gets the GthGdbusThermalZone instance for the D-Bus interface org.sigxcpu.Thermal.ThermalZone on object , if any.

Parameters

object

A GthGdbusObject.

 

Returns

A GthGdbusThermalZone that must be freed with g_object_unref() or NULL if object does not implement the interface.

[transfer full][nullable]


gth_gdbus_object_peek_cooling_device ()

GthGdbusCoolingDevice *
gth_gdbus_object_peek_cooling_device (GthGdbusObject *object);

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

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.

[skip]

Parameters

object

A GthGdbusObject.

 

Returns

A GthGdbusCoolingDevice or NULL if object does not implement the interface. Do not free the returned object, it is owned by object .

[transfer none][nullable]


gth_gdbus_object_peek_thermal_zone ()

GthGdbusThermalZone *
gth_gdbus_object_peek_thermal_zone (GthGdbusObject *object);

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

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.

[skip]

Parameters

object

A GthGdbusObject.

 

Returns

A GthGdbusThermalZone or NULL if object does not implement the interface. Do not free the returned object, it is owned by object .

[transfer none][nullable]


gth_gdbus_object_proxy_new ()

GthGdbusObjectProxy *
gth_gdbus_object_proxy_new (GDBusConnection *connection,
                            const gchar *object_path);

Creates a new proxy object.

Parameters

connection

A GDBusConnection.

 

object_path

An object path.

 

Returns

The proxy object.

[transfer full]


gth_gdbus_object_skeleton_new ()

GthGdbusObjectSkeleton *
gth_gdbus_object_skeleton_new (const gchar *object_path);

Creates a new skeleton object.

Parameters

object_path

An object path.

 

Returns

The skeleton object.

[transfer full]


gth_gdbus_object_skeleton_set_cooling_device ()

void
gth_gdbus_object_skeleton_set_cooling_device
                               (GthGdbusObjectSkeleton *object,
                                GthGdbusCoolingDevice *interface_);

Sets the GthGdbusCoolingDevice instance for the D-Bus interface org.sigxcpu.Thermal.CoolingDevice on object .

Parameters

object

A GthGdbusObjectSkeleton.

 

interface_

A GthGdbusCoolingDevice or NULL to clear the interface.

[nullable]

gth_gdbus_object_skeleton_set_thermal_zone ()

void
gth_gdbus_object_skeleton_set_thermal_zone
                               (GthGdbusObjectSkeleton *object,
                                GthGdbusThermalZone *interface_);

Sets the GthGdbusThermalZone instance for the D-Bus interface org.sigxcpu.Thermal.ThermalZone on object .

Parameters

object

A GthGdbusObjectSkeleton.

 

interface_

A GthGdbusThermalZone or NULL to clear the interface.

[nullable]

gth_gdbus_object_manager_client_get_proxy_type ()

GType
gth_gdbus_object_manager_client_get_proxy_type
                               (GDBusObjectManagerClient *manager,
                                const gchar *object_path,
                                const gchar *interface_name,
                                gpointer user_data);

A GDBusProxyTypeFunc that maps interface_name to the generated GDBusObjectProxy derived and GDBusProxy derived types.

Parameters

manager

A GDBusObjectManagerClient.

 

object_path

The object path of the remote object (unused).

 

interface_name

Interface name of the remote object or NULL to get the object proxy GType.

[nullable]

user_data

User data (unused).

 

Returns

A GDBusProxy derived GType if interface_name is not NULL, otherwise the GType for GthGdbusObjectProxy.


gth_gdbus_object_manager_client_new ()

void
gth_gdbus_object_manager_client_new (GDBusConnection *connection,
                                     GDBusObjectManagerClientFlags flags,
                                     const gchar *name,
                                     const gchar *object_path,
                                     GCancellable *cancellable,
                                     GAsyncReadyCallback callback,
                                     gpointer user_data);

Asynchronously creates GDBusObjectManagerClient using gth_gdbus_object_manager_client_get_proxy_type() as the GDBusProxyTypeFunc. See g_dbus_object_manager_client_new() for more details.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from. You can then call gth_gdbus_object_manager_client_new_finish() to get the result of the operation.

See gth_gdbus_object_manager_client_new_sync() for the synchronous, blocking version of this constructor.

Parameters

connection

A GDBusConnection.

 

flags

Flags from the GDBusObjectManagerClientFlags enumeration.

 

name

A bus name (well-known or unique) or NULL if connection is not a message bus connection.

[nullable]

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

callback

A GAsyncReadyCallback to call when the request is satisfied.

 

user_data

User data to pass to callback .

 

gth_gdbus_object_manager_client_new_finish ()

GDBusObjectManager *
gth_gdbus_object_manager_client_new_finish
                               (GAsyncResult *res,
                                GError **error);

Finishes an operation started with gth_gdbus_object_manager_client_new().

Parameters

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to gth_gdbus_object_manager_client_new().

 

error

Return location for error or NULL

 

Returns

The constructed object manager client or NULL if error is set.

[transfer full][type GthGdbusObjectManagerClient]


gth_gdbus_object_manager_client_new_sync ()

GDBusObjectManager *
gth_gdbus_object_manager_client_new_sync
                               (GDBusConnection *connection,
                                GDBusObjectManagerClientFlags flags,
                                const gchar *name,
                                const gchar *object_path,
                                GCancellable *cancellable,
                                GError **error);

Synchronously creates GDBusObjectManagerClient using gth_gdbus_object_manager_client_get_proxy_type() as the GDBusProxyTypeFunc. See g_dbus_object_manager_client_new_sync() for more details.

The calling thread is blocked until a reply is received.

See gth_gdbus_object_manager_client_new() for the asynchronous version of this constructor.

Parameters

connection

A GDBusConnection.

 

flags

Flags from the GDBusObjectManagerClientFlags enumeration.

 

name

A bus name (well-known or unique) or NULL if connection is not a message bus connection.

[nullable]

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

error

Return location for error or NULL

 

Returns

The constructed object manager client or NULL if error is set.

[transfer full][type GthGdbusObjectManagerClient]


gth_gdbus_object_manager_client_new_for_bus ()

void
gth_gdbus_object_manager_client_new_for_bus
                               (GBusType bus_type,
                                GDBusObjectManagerClientFlags flags,
                                const gchar *name,
                                const gchar *object_path,
                                GCancellable *cancellable,
                                GAsyncReadyCallback callback,
                                gpointer user_data);

Like gth_gdbus_object_manager_client_new() but takes a GBusType instead of a GDBusConnection.

When the operation is finished, callback will be invoked in the thread-default main loop of the thread you are calling this method from. You can then call gth_gdbus_object_manager_client_new_for_bus_finish() to get the result of the operation.

See gth_gdbus_object_manager_client_new_for_bus_sync() for the synchronous, blocking version of this constructor.

Parameters

bus_type

A GBusType.

 

flags

Flags from the GDBusObjectManagerClientFlags enumeration.

 

name

A bus name (well-known or unique).

 

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

callback

A GAsyncReadyCallback to call when the request is satisfied.

 

user_data

User data to pass to callback .

 

gth_gdbus_object_manager_client_new_for_bus_finish ()

GDBusObjectManager *
gth_gdbus_object_manager_client_new_for_bus_finish
                               (GAsyncResult *res,
                                GError **error);

Finishes an operation started with gth_gdbus_object_manager_client_new_for_bus().

Parameters

res

The GAsyncResult obtained from the GAsyncReadyCallback passed to gth_gdbus_object_manager_client_new_for_bus().

 

error

Return location for error or NULL

 

Returns

The constructed object manager client or NULL if error is set.

[transfer full][type GthGdbusObjectManagerClient]


gth_gdbus_object_manager_client_new_for_bus_sync ()

GDBusObjectManager *
gth_gdbus_object_manager_client_new_for_bus_sync
                               (GBusType bus_type,
                                GDBusObjectManagerClientFlags flags,
                                const gchar *name,
                                const gchar *object_path,
                                GCancellable *cancellable,
                                GError **error);

Like gth_gdbus_object_manager_client_new_sync() but takes a GBusType instead of a GDBusConnection.

The calling thread is blocked until a reply is received.

See gth_gdbus_object_manager_client_new_for_bus() for the asynchronous version of this constructor.

Parameters

bus_type

A GBusType.

 

flags

Flags from the GDBusObjectManagerClientFlags enumeration.

 

name

A bus name (well-known or unique).

 

object_path

An object path.

 

cancellable

A GCancellable or NULL.

[nullable]

error

Return location for error or NULL

 

Returns

The constructed object manager client or NULL if error is set.

[transfer full][type GthGdbusObjectManagerClient]

Types and Values

struct GthGdbusCoolingDeviceIface

struct GthGdbusCoolingDeviceIface {
  GTypeInterface parent_iface;

  gint  (*get_current_state) (GthGdbusCoolingDevice *object);

  gint  (*get_max_state) (GthGdbusCoolingDevice *object);

  const gchar * (*get_type_) (GthGdbusCoolingDevice *object);
};

Virtual table for the D-Bus interface org.sigxcpu.Thermal.CoolingDevice.

Members

GTypeInterface parent_iface;

The parent interface.

 

get_current_state ()

Getter for the “current-state” property.

 

get_max_state ()

Getter for the “max-state” property.

 

get_type_ ()

Getter for the “type” property.

 

struct GthGdbusCoolingDeviceProxy

struct GthGdbusCoolingDeviceProxy;

The GthGdbusCoolingDeviceProxy structure contains only private data and should only be accessed using the provided API.


struct GthGdbusCoolingDeviceProxyClass

struct GthGdbusCoolingDeviceProxyClass {
  GDBusProxyClass parent_class;
};

Class structure for GthGdbusCoolingDeviceProxy.

Members


struct GthGdbusCoolingDeviceSkeleton

struct GthGdbusCoolingDeviceSkeleton;

The GthGdbusCoolingDeviceSkeleton structure contains only private data and should only be accessed using the provided API.


struct GthGdbusCoolingDeviceSkeletonClass

struct GthGdbusCoolingDeviceSkeletonClass {
  GDBusInterfaceSkeletonClass parent_class;
};

Class structure for GthGdbusCoolingDeviceSkeleton.

Members


struct GthGdbusThermalZoneIface

struct GthGdbusThermalZoneIface {
  GTypeInterface parent_iface;

  const gchar *const * (*get_cooling_devices) (GthGdbusThermalZone *object);

  gint  (*get_temperature) (GthGdbusThermalZone *object);

  GVariant * (*get_trip_points) (GthGdbusThermalZone *object);

  const gchar * (*get_type_) (GthGdbusThermalZone *object);
};

Virtual table for the D-Bus interface org.sigxcpu.Thermal.ThermalZone.

Members

GTypeInterface parent_iface;

The parent interface.

 

get_cooling_devices ()

Getter for the “cooling-devices” property.

 

get_temperature ()

Getter for the “temperature” property.

 

get_trip_points ()

Getter for the “trip-points” property.

 

get_type_ ()

Getter for the “type” property.

 

struct GthGdbusThermalZoneProxy

struct GthGdbusThermalZoneProxy;

The GthGdbusThermalZoneProxy structure contains only private data and should only be accessed using the provided API.


struct GthGdbusThermalZoneProxyClass

struct GthGdbusThermalZoneProxyClass {
  GDBusProxyClass parent_class;
};

Class structure for GthGdbusThermalZoneProxy.

Members


struct GthGdbusThermalZoneSkeleton

struct GthGdbusThermalZoneSkeleton;

The GthGdbusThermalZoneSkeleton structure contains only private data and should only be accessed using the provided API.


struct GthGdbusThermalZoneSkeletonClass

struct GthGdbusThermalZoneSkeletonClass {
  GDBusInterfaceSkeletonClass parent_class;
};

Class structure for GthGdbusThermalZoneSkeleton.

Members


struct GthGdbusObjectIface

struct GthGdbusObjectIface {
  GTypeInterface parent_iface;
};

Virtual table for the GthGdbusObject interface.

Members

GTypeInterface parent_iface;

The parent interface.

 

struct GthGdbusObjectProxy

struct GthGdbusObjectProxy;

The GthGdbusObjectProxy structure contains only private data and should only be accessed using the provided API.


struct GthGdbusObjectProxyClass

struct GthGdbusObjectProxyClass {
  GDBusObjectProxyClass parent_class;
};

Class structure for GthGdbusObjectProxy.

Members


struct GthGdbusObjectSkeleton

struct GthGdbusObjectSkeleton;

The GthGdbusObjectSkeleton structure contains only private data and should only be accessed using the provided API.


struct GthGdbusObjectSkeletonClass

struct GthGdbusObjectSkeletonClass {
  GDBusObjectSkeletonClass parent_class;
};

Class structure for GthGdbusObjectSkeleton.

Members


struct GthGdbusObjectManagerClient

struct GthGdbusObjectManagerClient;

The GthGdbusObjectManagerClient structure contains only private data and should only be accessed using the provided API.


struct GthGdbusObjectManagerClientClass

struct GthGdbusObjectManagerClientClass {
  GDBusObjectManagerClientClass parent_class;
};

Class structure for GthGdbusObjectManagerClient.

Members


GthGdbusCoolingDevice

typedef struct _GthGdbusCoolingDevice GthGdbusCoolingDevice;

Abstract interface type for the D-Bus interface org.sigxcpu.Thermal.CoolingDevice.


GthGdbusCoolingDeviceProxyPrivate

typedef struct _GthGdbusCoolingDeviceProxyPrivate GthGdbusCoolingDeviceProxyPrivate;

GthGdbusCoolingDeviceSkeletonPrivate

typedef struct _GthGdbusCoolingDeviceSkeletonPrivate GthGdbusCoolingDeviceSkeletonPrivate;

GthGdbusObject

typedef struct _GthGdbusObject GthGdbusObject;

The GthGdbusObject type is a specialized container of interfaces.


GthGdbusObjectManagerClientPrivate

typedef struct _GthGdbusObjectManagerClientPrivate GthGdbusObjectManagerClientPrivate;

GthGdbusObjectProxyPrivate

typedef struct _GthGdbusObjectProxyPrivate GthGdbusObjectProxyPrivate;

GthGdbusObjectSkeletonPrivate

typedef struct _GthGdbusObjectSkeletonPrivate GthGdbusObjectSkeletonPrivate;

GthGdbusThermalZone

typedef struct _GthGdbusThermalZone GthGdbusThermalZone;

Abstract interface type for the D-Bus interface org.sigxcpu.Thermal.ThermalZone.


GthGdbusThermalZoneProxyPrivate

typedef struct _GthGdbusThermalZoneProxyPrivate GthGdbusThermalZoneProxyPrivate;

GthGdbusThermalZoneSkeletonPrivate

typedef struct _GthGdbusThermalZoneSkeletonPrivate GthGdbusThermalZoneSkeletonPrivate;

Property Details

The “current-state” property

  “current-state”            gint

Represents the D-Bus property "CurrentState".

Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Flags: Read / Write

Default value: 0


The “max-state” property

  “max-state”                gint

Represents the D-Bus property "MaxState".

Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Flags: Read / Write

Default value: 0


The “type” property

  “type”                     gchar *

Represents the D-Bus property "Type".

Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Flags: Read / Write

Default value: NULL


The “cooling-device” property

  “cooling-device”           GthGdbusCoolingDevice *

The GthGdbusCoolingDevice instance corresponding to the D-Bus interface org.sigxcpu.Thermal.CoolingDevice, if any.

Connect to the “notify” signal to get informed of property changes.

Flags: Read / Write


The “thermal-zone” property

  “thermal-zone”             GthGdbusThermalZone *

The GthGdbusThermalZone instance corresponding to the D-Bus interface org.sigxcpu.Thermal.ThermalZone, if any.

Connect to the “notify” signal to get informed of property changes.

Flags: Read / Write


The “cooling-devices” property

  “cooling-devices”          GStrv

Represents the D-Bus property "CoolingDevices".

Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Flags: Read / Write


The “temperature” property

  “temperature”              gint

Represents the D-Bus property "Temperature".

Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Flags: Read / Write

Default value: 0


The “trip-points” property

  “trip-points”              GVariant *

Represents the D-Bus property "TripPoints".

Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Flags: Read / Write

Allowed values: GVariant<a{s(si)}>

Default value: NULL


The “type” property

  “type”                     gchar *

Represents the D-Bus property "Type".

Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.

Flags: Read / Write

Default value: NULL