Implements the functionalities of an RFID tag. More...
#include <stdr_gui_rfid_tag.h>
Public Member Functions | |
CGuiRfidTag (QPoint p, std::string name, float resolution) | |
Default contructor. | |
virtual void | draw (QImage *img) |
Draws the tag in the map. | |
QString | getMessage (void) |
Returns the tag message. | |
void | setMessage (QString msg) |
Sets the tag message. | |
~CGuiRfidTag (void) | |
Default destructor. | |
Private Attributes | |
QString | message_ |
< The message of the rfid tag |
Implements the functionalities of an RFID tag.
Definition at line 38 of file stdr_gui_rfid_tag.h.
stdr_gui::CGuiRfidTag::CGuiRfidTag | ( | QPoint | p, |
std::string | name, | ||
float | resolution | ||
) |
Default contructor.
p | [QPoint] The pose of the rfid tag |
name | [std::string] The "name" of the rfid tag |
resolution | [float] The map's resolution |
p | [QPoint] The pose of the rfid tag |
name | [std::string] The "name" of the rfid tag |
Definition at line 33 of file stdr_gui_rfid_tag.cpp.
stdr_gui::CGuiRfidTag::~CGuiRfidTag | ( | void | ) |
void stdr_gui::CGuiRfidTag::draw | ( | QImage * | img | ) | [virtual] |
Draws the tag in the map.
img | [QImage*] The image to draw to |
Implements stdr_gui::CGuiSource.
Definition at line 54 of file stdr_gui_rfid_tag.cpp.
QString stdr_gui::CGuiRfidTag::getMessage | ( | void | ) |
void stdr_gui::CGuiRfidTag::setMessage | ( | QString | msg | ) |
Sets the tag message.
msg | [QString] The message to be set |
Definition at line 104 of file stdr_gui_rfid_tag.cpp.
QString stdr_gui::CGuiRfidTag::message_ [private] |
< The message of the rfid tag
Definition at line 43 of file stdr_gui_rfid_tag.h.