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

Implements the functionalities of an RFID tag. More...

#include <stdr_gui_rfid_tag.h>

List of all members.

Public Member Functions

 CGuiRfidTag (QPoint p, std::string name, float resolution)
 Default contructor.
bool checkProximity (QPoint p)
 Checks proximity to a point.
void draw (QImage *img)
 Draws the tag in the map.
QString getMessage (void)
 Returns the tag message.
std::string getName (void)
 Returns the "name" of the rfid tag.
void setMessage (QString msg)
 Sets the tag message.
 ~CGuiRfidTag (void)
 Default destructor.

Private Attributes

QString message_
 The OGM resolution.
std::string name_
 The message of the rfid tag.
QPoint position_
 < The position of the rfid tag in the map
float resolution_

Detailed Description

Implements the functionalities of an RFID tag.

Definition at line 38 of file stdr_gui_rfid_tag.h.


Constructor & Destructor Documentation

stdr_gui::CGuiRfidTag::CGuiRfidTag ( 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_rfid_tag.cpp.

Default destructor.

Returns:
void

Definition at line 45 of file stdr_gui_rfid_tag.cpp.


Member Function Documentation

Checks proximity to a point.

Parameters:
p[QPoint] The proximity point to check
Returns:
bool : True if tag is close to p

Definition at line 64 of file stdr_gui_rfid_tag.cpp.

void stdr_gui::CGuiRfidTag::draw ( QImage *  img)

Draws the tag in the map.

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

Definition at line 77 of file stdr_gui_rfid_tag.cpp.

Returns the tag message.

Returns:
QString

Definition at line 136 of file stdr_gui_rfid_tag.cpp.

std::string stdr_gui::CGuiRfidTag::getName ( void  )

Returns the "name" of the rfid tag.

Returns:
std::string

Definition at line 54 of file stdr_gui_rfid_tag.cpp.

void stdr_gui::CGuiRfidTag::setMessage ( QString  msg)

Sets the tag message.

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

Definition at line 127 of file stdr_gui_rfid_tag.cpp.


Member Data Documentation

The OGM resolution.

Definition at line 48 of file stdr_gui_rfid_tag.h.

std::string stdr_gui::CGuiRfidTag::name_ [private]

The message of the rfid tag.

Definition at line 46 of file stdr_gui_rfid_tag.h.

< The position of the rfid tag in the map

The "name" of the rfid tag

Definition at line 44 of file stdr_gui_rfid_tag.h.

Definition at line 49 of file stdr_gui_rfid_tag.h.


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


stdr_gui
Author(s): Manos Tsardoulias
autogenerated on Wed Sep 2 2015 03:36:45