Top |
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 |
GInterface ├── GthGdbusCoolingDevice ├── GthGdbusObject ╰── GthGdbusThermalZone GObject ├── GDBusInterfaceSkeleton │ ├── GthGdbusCoolingDeviceSkeleton │ ╰── GthGdbusThermalZoneSkeleton ├── GDBusObjectManagerClient │ ╰── GthGdbusObjectManagerClient │ ╰── GthManager ├── GDBusObjectProxy │ ╰── GthGdbusObjectProxy ├── GDBusObjectSkeleton │ ╰── GthGdbusObjectSkeleton ╰── GDBusProxy ├── GthGdbusCoolingDeviceProxy │ ╰── GthCoolingDevice ╰── GthGdbusThermalZoneProxy ╰── GthThermalZone
GthGdbusCoolingDevice requires GObject.
GthGdbusObject requires GDBusObject and GObject.
GthGdbusThermalZone requires GObject.
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.
GthGdbusCoolingDevice is implemented by GthCoolingDevice, GthGdbusCoolingDeviceProxy and GthGdbusCoolingDeviceSkeleton.
GthGdbusObject is implemented by GthGdbusObjectProxy and GthGdbusObjectSkeleton.
GthGdbusThermalZone is implemented by GthGdbusThermalZoneProxy, GthGdbusThermalZoneSkeleton and GthThermalZone.
GDBusInterfaceInfo *
gth_gdbus_cooling_device_interface_info
(void
);
Gets a machine-readable description of the org.sigxcpu.Thermal.CoolingDevice D-Bus interface.
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.
klass |
The class structure for a GObject derived class. |
|
property_id_begin |
The property id to assign to the first overridden property. |
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.
object
was constructed. Use gth_gdbus_cooling_device_dup_type_()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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]
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]
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]
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]
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]
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]
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.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
GthGdbusCoolingDevice * gth_gdbus_cooling_device_proxy_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with gth_gdbus_cooling_device_proxy_new()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type GthGdbusCoolingDeviceProxy]
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.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type GthGdbusCoolingDeviceProxy]
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.
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 |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
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()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type GthGdbusCoolingDeviceProxy]
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.
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 |
[nullable] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type GthGdbusCoolingDeviceProxy]
GthGdbusCoolingDevice *
gth_gdbus_cooling_device_skeleton_new (void
);
Creates a skeleton object for the D-Bus interface org.sigxcpu.Thermal.CoolingDevice.
GDBusInterfaceInfo *
gth_gdbus_thermal_zone_interface_info (void
);
Gets a machine-readable description of the org.sigxcpu.Thermal.ThermalZone D-Bus interface.
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.
klass |
The class structure for a GObject derived class. |
|
property_id_begin |
The property id to assign to the first overridden property. |
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]
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]
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.
object
was constructed. Use gth_gdbus_thermal_zone_dup_type_()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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]
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]
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.
object
was constructed. Use gth_gdbus_thermal_zone_dup_trip_points()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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]
The property value or NULL
if the property is not set. The returned value should be freed with g_variant_unref()
.
[transfer full][nullable]
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]
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.
object
was constructed. Use gth_gdbus_thermal_zone_dup_cooling_devices()
if on another thread.[skip]
The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none][nullable]
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]
The property value or NULL
if the property is not set. The returned value should be freed with g_strfreev()
.
[transfer full][nullable]
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]
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.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
GthGdbusThermalZone * gth_gdbus_thermal_zone_proxy_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with gth_gdbus_thermal_zone_proxy_new()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type GthGdbusThermalZoneProxy]
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.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type GthGdbusThermalZoneProxy]
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.
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 |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
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()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type GthGdbusThermalZoneProxy]
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.
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 |
[nullable] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type GthGdbusThermalZoneProxy]
GthGdbusThermalZone *
gth_gdbus_thermal_zone_skeleton_new (void
);
Creates a skeleton object for the D-Bus interface org.sigxcpu.Thermal.ThermalZone.
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.
A GthGdbusCoolingDevice that must be freed with g_object_unref()
or NULL
if object
does not implement the interface.
[transfer full][nullable]
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.
A GthGdbusThermalZone that must be freed with g_object_unref()
or NULL
if object
does not implement the interface.
[transfer full][nullable]
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.
object
is running.[skip]
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]
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.
object
is running.[skip]
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]
GthGdbusObjectProxy * gth_gdbus_object_proxy_new (GDBusConnection *connection
,const gchar *object_path
);
Creates a new proxy object.
GthGdbusObjectSkeleton *
gth_gdbus_object_skeleton_new (const gchar *object_path
);
Creates a new skeleton object.
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
.
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
.
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.
A GDBusProxy derived GType if interface_name
is not NULL
, otherwise the GType for GthGdbusObjectProxy.
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.
connection |
||
flags |
Flags from the GDBusObjectManagerClientFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
GDBusObjectManager * gth_gdbus_object_manager_client_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with gth_gdbus_object_manager_client_new()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed object manager client or NULL
if error
is set.
[transfer full][type GthGdbusObjectManagerClient]
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.
connection |
||
flags |
Flags from the GDBusObjectManagerClientFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[nullable] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[nullable] |
error |
Return location for error or |
The constructed object manager client or NULL
if error
is set.
[transfer full][type GthGdbusObjectManagerClient]
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.
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 |
[nullable] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
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()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed object manager client or NULL
if error
is set.
[transfer full][type GthGdbusObjectManagerClient]
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.
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 |
[nullable] |
error |
Return location for error or |
The constructed object manager client or NULL
if error
is set.
[transfer full][type GthGdbusObjectManagerClient]
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.
GTypeInterface |
The parent interface. |
|
Getter for the “current-state” property. |
||
Getter for the “max-state” property. |
||
Getter for the “type” property. |
struct GthGdbusCoolingDeviceProxy;
The GthGdbusCoolingDeviceProxy structure contains only private data and should only be accessed using the provided API.
struct GthGdbusCoolingDeviceProxyClass { GDBusProxyClass parent_class; };
Class structure for GthGdbusCoolingDeviceProxy.
struct GthGdbusCoolingDeviceSkeleton;
The GthGdbusCoolingDeviceSkeleton structure contains only private data and should only be accessed using the provided API.
struct GthGdbusCoolingDeviceSkeletonClass { GDBusInterfaceSkeletonClass parent_class; };
Class structure for GthGdbusCoolingDeviceSkeleton.
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.
GTypeInterface |
The parent interface. |
|
Getter for the “cooling-devices” property. |
||
Getter for the “temperature” property. |
||
Getter for the “trip-points” property. |
||
Getter for the “type” property. |
struct GthGdbusThermalZoneProxy;
The GthGdbusThermalZoneProxy structure contains only private data and should only be accessed using the provided API.
struct GthGdbusThermalZoneProxyClass { GDBusProxyClass parent_class; };
Class structure for GthGdbusThermalZoneProxy.
struct GthGdbusThermalZoneSkeleton;
The GthGdbusThermalZoneSkeleton structure contains only private data and should only be accessed using the provided API.
struct GthGdbusThermalZoneSkeletonClass { GDBusInterfaceSkeletonClass parent_class; };
Class structure for GthGdbusThermalZoneSkeleton.
struct GthGdbusObjectIface { GTypeInterface parent_iface; };
Virtual table for the GthGdbusObject interface.
struct GthGdbusObjectProxy;
The GthGdbusObjectProxy structure contains only private data and should only be accessed using the provided API.
struct GthGdbusObjectProxyClass { GDBusObjectProxyClass parent_class; };
Class structure for GthGdbusObjectProxy.
struct GthGdbusObjectSkeleton;
The GthGdbusObjectSkeleton structure contains only private data and should only be accessed using the provided API.
struct GthGdbusObjectSkeletonClass { GDBusObjectSkeletonClass parent_class; };
Class structure for GthGdbusObjectSkeleton.
struct GthGdbusObjectManagerClient;
The GthGdbusObjectManagerClient structure contains only private data and should only be accessed using the provided API.
struct GthGdbusObjectManagerClientClass { GDBusObjectManagerClientClass parent_class; };
Class structure for GthGdbusObjectManagerClient.
typedef struct _GthGdbusCoolingDevice GthGdbusCoolingDevice;
Abstract interface type for the D-Bus interface org.sigxcpu.Thermal.CoolingDevice.
typedef struct _GthGdbusCoolingDeviceProxyPrivate GthGdbusCoolingDeviceProxyPrivate;
typedef struct _GthGdbusCoolingDeviceSkeletonPrivate GthGdbusCoolingDeviceSkeletonPrivate;
typedef struct _GthGdbusObject GthGdbusObject;
The GthGdbusObject type is a specialized container of interfaces.
typedef struct _GthGdbusObjectManagerClientPrivate GthGdbusObjectManagerClientPrivate;
typedef struct _GthGdbusObjectSkeletonPrivate GthGdbusObjectSkeletonPrivate;
typedef struct _GthGdbusThermalZone GthGdbusThermalZone;
Abstract interface type for the D-Bus interface org.sigxcpu.Thermal.ThermalZone.
typedef struct _GthGdbusThermalZoneProxyPrivate GthGdbusThermalZoneProxyPrivate;
“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
“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
“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
“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
“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
“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
“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
“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
“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