Public Member Functions | Private Attributes | List of all members
stdr_gui::CGuiThermalSource Class Reference

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

#include <stdr_gui_thermal_source.h>

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

Public Member Functions

 CGuiThermalSource (QPoint p, std::string name, float resolution)
 Default contructor. More...
 
virtual void draw (QImage *img)
 Draws the tag in the map. More...
 
float getDegrees (void)
 Returns the tag message. More...
 
void setDegrees (float degrees)
 Sets the tag message. More...
 
 ~CGuiThermalSource (void)
 Default destructor. More...
 
- Public Member Functions inherited from stdr_gui::CGuiSource
 CGuiSource (QPoint p, std::string name, float resolution)
 Default contructor. More...
 
virtual bool checkProximity (QPoint p)
 Checks proximity to a point. More...
 
std::string getName (void)
 Returns the "name" of the source. More...
 
virtual ~CGuiSource (void)
 Default destructor. More...
 

Private Attributes

float degrees_
 < The degrees of the thermal source More...
 

Additional Inherited Members

- Protected Attributes inherited from stdr_gui::CGuiSource
std::string name_
 The OGM resolution. More...
 
QPoint position_
 < The position of the source in the map More...
 
float resolution_
 

Detailed Description

Implements the functionalities of a thermal source.

Definition at line 38 of file stdr_gui_thermal_source.h.

Constructor & Destructor Documentation

stdr_gui::CGuiThermalSource::CGuiThermalSource ( 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_thermal_source.cpp.

stdr_gui::CGuiThermalSource::~CGuiThermalSource ( void  )

Default destructor.

Returns
void

Definition at line 43 of file stdr_gui_thermal_source.cpp.

Member Function Documentation

void stdr_gui::CGuiThermalSource::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_thermal_source.cpp.

float stdr_gui::CGuiThermalSource::getDegrees ( void  )

Returns the tag message.

Returns
QString

Definition at line 109 of file stdr_gui_thermal_source.cpp.

void stdr_gui::CGuiThermalSource::setDegrees ( float  degrees)

Sets the tag message.

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

Definition at line 100 of file stdr_gui_thermal_source.cpp.

Member Data Documentation

float stdr_gui::CGuiThermalSource::degrees_
private

< The degrees of the thermal source

Definition at line 43 of file stdr_gui_thermal_source.h.


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


stdr_gui
Author(s): Manos Tsardoulias
autogenerated on Mon Jun 10 2019 15:15:17