Public Member Functions | Private Attributes
stdr_gui::CGuiCo2Source Class Reference

Implements the functionalities of a CO2 source. More...

#include <stdr_gui_co2_source.h>

Inheritance diagram for stdr_gui::CGuiCo2Source:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CGuiCo2Source (QPoint p, std::string name, float resolution)
 Default contructor.
virtual void draw (QImage *img)
 Draws the tag in the map.
float getPpm (void)
 Returns the tag message.
void setPpm (float ppm)
 Sets the tag message.
 ~CGuiCo2Source (void)
 Default destructor.

Private Attributes

float ppm_

Detailed Description

Implements the functionalities of a CO2 source.

Definition at line 36 of file stdr_gui_co2_source.h.


Constructor & Destructor Documentation

stdr_gui::CGuiCo2Source::CGuiCo2Source ( QPoint  p,
std::string  name,
float  resolution 
)

Default contructor.

Parameters:
p[QPoint] The pose of the rfid tag
name[std::string] The "name" of the rfid tag
resolution[float] The map's resolution
Returns:
void
Parameters:
p[QPoint] The pose of the rfid tag
name[std::string] The "name" of the rfid tag
Returns:
void

Definition at line 32 of file stdr_gui_co2_source.cpp.

Default destructor.

Returns:
void

Definition at line 43 of file stdr_gui_co2_source.cpp.


Member Function Documentation

void stdr_gui::CGuiCo2Source::draw ( QImage *  img) [virtual]

Draws the tag in the map.

Parameters:
img[QImage*] The image to draw to
Returns:
void

Implements stdr_gui::CGuiSource.

Definition at line 53 of file stdr_gui_co2_source.cpp.

Returns the tag message.

Returns:
QString

Definition at line 113 of file stdr_gui_co2_source.cpp.

void stdr_gui::CGuiCo2Source::setPpm ( float  ppm)

Sets the tag message.

Parameters:
msg[QString] The message to be set
Returns:
void

Definition at line 104 of file stdr_gui_co2_source.cpp.


Member Data Documentation

Definition at line 40 of file stdr_gui_co2_source.h.


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


stdr_gui
Author(s): Manos Tsardoulias
autogenerated on Tue Feb 7 2017 03:46:43