Fawkes API  Fawkes Development Version
BatteryMonitorTreeView::BatteryRecord Class Reference

#include <tools/battery_monitor/battery_monitor_treeview.h>

Inheritance diagram for BatteryMonitorTreeView::BatteryRecord:

Public Attributes

Gtk::TreeModelColumn< Glib::ustring > fqdn
 The FQDN. More...
 
Gtk::TreeModelColumn< Glib::ustring > short_name
 A shorter hostname (w/o domain) More...
 
Gtk::TreeModelColumn< float > absolute_soc
 The battery's absolute state of charge. More...
 
Gtk::TreeModelColumn< float > relative_soc
 The battery's relative state of charge. More...
 
Gtk::TreeModelColumn< float > current
 The battery's current. More...
 
Gtk::TreeModelColumn< float > voltage
 The battery's voltage. More...
 

Detailed Description

Column record class for the battery monitor treeview.

Author
Daniel Beck

Definition at line 48 of file battery_monitor_treeview.h.

Member Data Documentation

◆ absolute_soc

Gtk::TreeModelColumn<float> BatteryMonitorTreeView::BatteryRecord::absolute_soc

The battery's absolute state of charge.

Definition at line 63 of file battery_monitor_treeview.h.

Referenced by BatteryMonitorTreeView::BatteryMonitorTreeView().

◆ current

Gtk::TreeModelColumn<float> BatteryMonitorTreeView::BatteryRecord::current

The battery's current.

Definition at line 65 of file battery_monitor_treeview.h.

Referenced by BatteryMonitorTreeView::BatteryMonitorTreeView().

◆ fqdn

Gtk::TreeModelColumn<Glib::ustring> BatteryMonitorTreeView::BatteryRecord::fqdn

The FQDN.

Definition at line 61 of file battery_monitor_treeview.h.

◆ relative_soc

Gtk::TreeModelColumn<float> BatteryMonitorTreeView::BatteryRecord::relative_soc

The battery's relative state of charge.

Definition at line 64 of file battery_monitor_treeview.h.

Referenced by BatteryMonitorTreeView::BatteryMonitorTreeView().

◆ short_name

Gtk::TreeModelColumn<Glib::ustring> BatteryMonitorTreeView::BatteryRecord::short_name

A shorter hostname (w/o domain)

Definition at line 62 of file battery_monitor_treeview.h.

Referenced by BatteryMonitorTreeView::BatteryMonitorTreeView().

◆ voltage

Gtk::TreeModelColumn<float> BatteryMonitorTreeView::BatteryRecord::voltage

The battery's voltage.

Definition at line 66 of file battery_monitor_treeview.h.

Referenced by BatteryMonitorTreeView::BatteryMonitorTreeView().


The documentation for this class was generated from the following file: