Public Member Functions | Protected Attributes | List of all members
PressureSensors Class Reference

Atlascar pedal pressure sensors gui frame. More...

#include <manager_gui.h>

Inheritance diagram for PressureSensors:
Inheritance graph
[legend]

Public Member Functions

 PressureSensors ()
 Class constructor. More...
 
void setBrake (double brake)
 Function used to set the brake pressure value. More...
 
void setClutch (double clutch)
 Function used to set the clutch pressure value. More...
 
void setThrottle (double throttle)
 Function used to set the throttle pressure value. More...
 
 ~PressureSensors ()
 Class destructor. More...
 

Protected Attributes

Gtk::Label brake_
 Brake value label. More...
 
double brake_pressure_
 Brake value. More...
 
Gtk::Label clutch_
 Clutch value label. More...
 
double clutch_pressure_
 Clutch value. More...
 
Gtk::Grid grid_
 Grid that hold the labels. More...
 
Gtk::Label throttle_
 Throttle value label. More...
 
double throttle_pressure_
 Throttle value. More...
 
Gtk::Label title_brake_
 Brake title label. More...
 
Gtk::Label title_clutch_
 Clutch title label. More...
 
Gtk::Label title_throttle_
 Throttle title label. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

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

Class destructor.

Does nothing.

Definition at line 129 of file manager_gui.h.

Member Function Documentation

void PressureSensors::setBrake ( double  brake)
inline

Function used to set the brake pressure value.

Parameters
brakethe 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.

Parameters
clutchthe 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.

Parameters
throttlethe throttle pressure value

Definition at line 137 of file manager_gui.h.

Member Data Documentation

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.


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


atlascar_base
Author(s): Jorge Almeida, Sérgio Pinho, Miguel Oliveira, Pedro Salvado, Andre Oliveira and Pedro Pinheiro
autogenerated on Mon Mar 2 2015 01:31:23