Atlascar pedal pressure sensors gui frame. More...
#include <manager_gui.h>
Public Member Functions | |
PressureSensors () | |
Class constructor. | |
void | setBrake (double brake) |
Function used to set the brake pressure value. | |
void | setClutch (double clutch) |
Function used to set the clutch pressure value. | |
void | setThrottle (double throttle) |
Function used to set the throttle pressure value. | |
~PressureSensors () | |
Class destructor. | |
Protected Attributes | |
Gtk::Label | brake_ |
Brake value label. | |
double | brake_pressure_ |
Brake value. | |
Gtk::Label | clutch_ |
Clutch value label. | |
double | clutch_pressure_ |
Clutch value. | |
Gtk::Grid | grid_ |
Grid that hold the labels. | |
Gtk::Label | throttle_ |
Throttle value label. | |
double | throttle_pressure_ |
Throttle value. | |
Gtk::Label | title_brake_ |
Brake title label. | |
Gtk::Label | title_clutch_ |
Clutch title label. | |
Gtk::Label | title_throttle_ |
Throttle title label. |
Atlascar pedal pressure sensors gui frame.
Class that hold the pedal pressure sensor values and handlers. Inherits a Gtk::Frame.
Definition at line 74 of file manager_gui.h.
PressureSensors::PressureSensors | ( | ) | [inline] |
Class constructor.
Initializes the labels and arranges the widgets inside the frame.
Definition at line 83 of file manager_gui.h.
PressureSensors::~PressureSensors | ( | ) | [inline] |
void PressureSensors::setBrake | ( | double | brake | ) | [inline] |
Function used to set the brake pressure value.
brake | the brake pressure value |
Definition at line 151 of file manager_gui.h.
void PressureSensors::setClutch | ( | double | clutch | ) | [inline] |
Function used to set the clutch pressure value.
clutch | the clutch pressure value |
Definition at line 165 of file manager_gui.h.
void PressureSensors::setThrottle | ( | double | throttle | ) | [inline] |
Function used to set the throttle pressure value.
throttle | the throttle pressure value |
Definition at line 137 of file manager_gui.h.
Gtk::Label PressureSensors::brake_ [protected] |
Brake value label.
Definition at line 189 of file manager_gui.h.
double PressureSensors::brake_pressure_ [protected] |
Brake value.
Definition at line 196 of file manager_gui.h.
Gtk::Label PressureSensors::clutch_ [protected] |
Clutch value label.
Definition at line 191 of file manager_gui.h.
double PressureSensors::clutch_pressure_ [protected] |
Clutch value.
Definition at line 198 of file manager_gui.h.
Gtk::Grid PressureSensors::grid_ [protected] |
Grid that hold the labels.
Definition at line 178 of file manager_gui.h.
Gtk::Label PressureSensors::throttle_ [protected] |
Throttle value label.
Definition at line 187 of file manager_gui.h.
double PressureSensors::throttle_pressure_ [protected] |
Throttle value.
Definition at line 194 of file manager_gui.h.
Gtk::Label PressureSensors::title_brake_ [protected] |
Brake title label.
Definition at line 182 of file manager_gui.h.
Gtk::Label PressureSensors::title_clutch_ [protected] |
Clutch title label.
Definition at line 184 of file manager_gui.h.
Gtk::Label PressureSensors::title_throttle_ [protected] |
Throttle title label.
Definition at line 180 of file manager_gui.h.