GthCoolingDevice

GthCoolingDevice — A cooling device

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GDBusProxy
        ╰── GthGdbusCoolingDeviceProxy
            ╰── GthCoolingDevice

Implemented Interfaces

GthCoolingDevice implements GDBusInterface, GInitable, GAsyncInitable and GthGdbusCoolingDevice.

Description

The GthCoolingDevice represents a cooling device like a fan or a passive cooling mechnism like cpu throttling.

Functions

gth_cooling_device_get_path ()

const gchar *
gth_cooling_device_get_path (GthCoolingDevice *self);

Gets the DBus path of the GthCoolingDevice object.

Parameters

self

A GthThermalzone.

 

Returns

The DBus path of the GthCoolingDevice object.

[transfer none]


gth_cooling_device_get_type_ ()

const gchar *
gth_cooling_device_get_type_ (GthCoolingDevice *self);

Gets the type of the GthCoolingDevice.

Parameters

self

A GthThermalzone.

 

Returns

The type of the GthCoolingDevice.

[transfer none]


gth_cooling_device_get_current_state ()

gint
gth_cooling_device_get_current_state (GthCoolingDevice *self);

Gets the current cooling state of the GthCoolingDevice.

Parameters

self

A GthThermalzone.

 

Returns

The GthCoolingDevice's cooling state.


gth_cooling_device_get_max_state ()

gint
gth_cooling_device_get_max_state (GthCoolingDevice *self);

Gets the maximum cooling state of the GthCoolingDevice.

Parameters

self

A GthThermalzone.

 

Returns

The GthCoolingDevice's maximum cooling state.

Types and Values

GTH_TYPE_COOLING_DEVICE

#define GTH_TYPE_COOLING_DEVICE (gth_cooling_device_get_type())

GthCoolingDevice

typedef struct _GthCoolingDevice GthCoolingDevice;