Fawkes API  Fawkes Development Version
BatteryMonitorTreeView::BatteryRecord Class Reference

Column record class for the battery monitor treeview. More...

#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 50 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 65 of file battery_monitor_treeview.h.

Referenced by BatteryMonitorTreeView::BatteryMonitorTreeView(), and BatteryMonitorTreeView::rem_host().

◆ current

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

The battery's current.

Definition at line 67 of file battery_monitor_treeview.h.

Referenced by BatteryMonitorTreeView::BatteryMonitorTreeView(), and BatteryMonitorTreeView::rem_host().

◆ fqdn

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

The FQDN.

Definition at line 63 of file battery_monitor_treeview.h.

Referenced by BatteryMonitorTreeView::rem_host().

◆ relative_soc

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

The battery's relative state of charge.

Definition at line 66 of file battery_monitor_treeview.h.

Referenced by BatteryMonitorTreeView::BatteryMonitorTreeView(), and BatteryMonitorTreeView::rem_host().

◆ short_name

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

A shorter hostname (w/o domain)

Definition at line 64 of file battery_monitor_treeview.h.

Referenced by BatteryMonitorTreeView::BatteryMonitorTreeView(), and BatteryMonitorTreeView::rem_host().

◆ voltage

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

The battery's voltage.

Definition at line 68 of file battery_monitor_treeview.h.

Referenced by BatteryMonitorTreeView::BatteryMonitorTreeView(), and BatteryMonitorTreeView::rem_host().


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