Fawkes API Fawkes Development Version

BatteryMonitorTreeView Class Reference

A treeview that retrieves battery data from the robots over remote blackboard connections and displays those. More...

#include <tools/battery_monitor/battery_monitor_treeview.h>

List of all members.

Classes

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

Public Member Functions

 BatteryMonitorTreeView (BaseObjectType *cobject, const Glib::RefPtr< Gnome::Glade::Xml > &ref_xml)
 Constructor.
virtual ~BatteryMonitorTreeView ()
 Destructor.
void add_host (const char *host)
 Add given host.
void rem_host (const char *host)
 Remove given host.

Protected Attributes

BatteryRecord m_battery_record
 Column record object to acces the columns of the storage object.
Glib::RefPtr< Gtk::ListStore > m_battery_list
 Storage object.
std::map< std::string,
fawkes::BlackBoard * > 
m_remote_bbs
 Map with remote blackboards: hostname -> remote blackboard.
std::map< std::string,
fawkes::BatteryInterface * > 
m_battery_interfaces
 Map containing the battery interfaces: hostname -> battery interface.
std::map< std::string,
fawkes::InterfaceDispatcher * > 
m_interface_dispatcher
 Interface dispatcher for the battery interfaces.

Detailed Description

A treeview that retrieves battery data from the robots over remote blackboard connections and displays those.

Author:
Daniel Beck

Definition at line 40 of file battery_monitor_treeview.h.


Constructor & Destructor Documentation

BatteryMonitorTreeView::BatteryMonitorTreeView ( BaseObjectType *  cobject,
const Glib::RefPtr< Gnome::Glade::Xml > &  ref_xml 
)
BatteryMonitorTreeView::~BatteryMonitorTreeView ( ) [virtual]

Destructor.

Definition at line 92 of file battery_monitor_treeview.cpp.

References m_battery_interfaces, m_interface_dispatcher, and m_remote_bbs.


Member Function Documentation

void BatteryMonitorTreeView::add_host ( const char *  h)
void BatteryMonitorTreeView::rem_host ( const char *  h)

Member Data Documentation

Map containing the battery interfaces: hostname -> battery interface.

Definition at line 76 of file battery_monitor_treeview.h.

Referenced by add_host(), rem_host(), and ~BatteryMonitorTreeView().

Storage object.

Definition at line 73 of file battery_monitor_treeview.h.

Referenced by BatteryMonitorTreeView().

Column record object to acces the columns of the storage object.

Definition at line 72 of file battery_monitor_treeview.h.

Referenced by BatteryMonitorTreeView().

Interface dispatcher for the battery interfaces.

Definition at line 77 of file battery_monitor_treeview.h.

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

Map with remote blackboards: hostname -> remote blackboard.

Definition at line 75 of file battery_monitor_treeview.h.

Referenced by add_host(), rem_host(), and ~BatteryMonitorTreeView().


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends