GthThermalZone

GthThermalZone — A thermal zone

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GDBusProxy
        ╰── GthGdbusThermalZoneProxy
            ╰── GthThermalZone

Implemented Interfaces

GthThermalZone implements GDBusInterface, GInitable, GAsyncInitable and GthGdbusThermalZone.

Description

The GthThermalZone represents a thermal zone that measures a temperature and reacts on trip points.

Functions

gth_thermal_zone_get_path ()

const gchar *
gth_thermal_zone_get_path (GthThermalZone *self);

Gets the DBus path of the GthThermalZone object.

Parameters

self

A GthThermalzone.

 

Returns

The DBus path of the GthThermalZone object.

[transfer none]


gth_thermal_zone_get_type_ ()

const gchar *
gth_thermal_zone_get_type_ (GthThermalZone *self);

Gets the type of the GthThermalZone.

Parameters

self

A GthThermalzone.

 

Returns

The type of the GthThermalZone.

[transfer none]


gth_thermal_zone_get_temperature ()

gint
gth_thermal_zone_get_temperature (GthThermalZone *self);

Gets the current temperature of the GthThermalZone.

Parameters

self

A GthThermalzone.

 

Returns

The GthThermalZone's temperature.


gth_thermal_zone_get_cooling_devices_dbus_paths ()

const gchar *const *
gth_thermal_zone_get_cooling_devices_dbus_paths
                               (GthThermalZone *self);

Gets the DBus paths of the cooling devices in the GthThermalZone.

Parameters

self

A GthThermalzone.

 

Returns

The GthThermalZone's cooling device's DBus paths

Types and Values

GTH_TYPE_THERMAL_ZONE

#define GTH_TYPE_THERMAL_ZONE (gth_thermal_zone_get_type())

GthThermalZone

typedef struct _GthThermalZone GthThermalZone;