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

Implements the low level Qt functionalities of the information tree. Inherits from Ui_information (generated from an ui file) and QWidget. More...

#include <stdr_info_loader.h>

List of all members.

Public Member Functions

void autoResizeColumns (void)
 Autoresizes the columns according to the visible contents.
 CInfoLoader (int argc, char **argv)
 Default contructor.
void deleteTree (void)
 Deletes the information tree.
void deleteTreeNode (QTreeWidgetItem *item)
 Deletes a specific tree node. Recursive function.
void updateMapInfo (float width, float height, float ocgd)
 Updates the information tree according to the specific map.
void updateRobots (const stdr_msgs::RobotIndexedVectorMsg &msg)
 Updates the information tree according to the ensemble of robots.
 ~CInfoLoader (void)
 Default destructor.

Public Attributes

QTreeWidgetItem generalInfo
 Tree item : Robot root.
QTreeWidgetItem mapHeight
 Tree item : Map width.
QTreeWidgetItem mapOcgd
QTreeWidgetItem mapWidth
 Tree item : Map resolution.
QTreeWidgetItem robotsInfo
 Tree item : Map height.
QIcon visible_icon_off_
 Icon of visibility medium (orange)
QIcon visible_icon_on_
 < Icon of visibility on (green)
QIcon visible_icon_trans_
 Tree item : Root.

Private Attributes

int argc_
 < Number of input arguments
char ** argv_
 Icon of visualization actions.
QIcon visible_icon_

Detailed Description

Implements the low level Qt functionalities of the information tree. Inherits from Ui_information (generated from an ui file) and QWidget.

Definition at line 38 of file stdr_info_loader.h.


Constructor & Destructor Documentation

stdr_gui::CInfoLoader::CInfoLoader ( int  argc,
char **  argv 
)

Default contructor.

Parameters:
argc[int] Number of input arguments
argv[char **] Input arguments
Returns:
void

Definition at line 32 of file stdr_info_loader.cpp.

Default destructor.

Returns:
void

Definition at line 90 of file stdr_info_loader.cpp.


Member Function Documentation

Autoresizes the columns according to the visible contents.

Returns:
void

Deletes the information tree.

Returns:
void

Definition at line 116 of file stdr_info_loader.cpp.

void stdr_gui::CInfoLoader::deleteTreeNode ( QTreeWidgetItem *  item)

Deletes a specific tree node. Recursive function.

Parameters:
item[QTreeWidgetItem*] The item to be deleted
Returns:
void

Definition at line 100 of file stdr_info_loader.cpp.

void stdr_gui::CInfoLoader::updateMapInfo ( float  width,
float  height,
float  ocgd 
)

Updates the information tree according to the specific map.

Parameters:
width[float] The map width
height[float] The map height
ocgd[float] The map resolution (m/pixel)
Returns:
void

Definition at line 135 of file stdr_info_loader.cpp.

void stdr_gui::CInfoLoader::updateRobots ( const stdr_msgs::RobotIndexedVectorMsg &  msg)

Updates the information tree according to the ensemble of robots.

Parameters:
msg[const stdr_msgs::RobotIndexedVectorMsg&] The existent robots
Returns:
void

Definition at line 147 of file stdr_info_loader.cpp.


Member Data Documentation

< Number of input arguments

Input arguments

Definition at line 47 of file stdr_info_loader.h.

char** stdr_gui::CInfoLoader::argv_ [private]

Icon of visualization actions.

Definition at line 50 of file stdr_info_loader.h.

Tree item : Robot root.

Definition at line 67 of file stdr_info_loader.h.

Tree item : Map width.

Definition at line 71 of file stdr_info_loader.h.

Definition at line 74 of file stdr_info_loader.h.

Tree item : Map resolution.

Definition at line 73 of file stdr_info_loader.h.

Tree item : Map height.

Definition at line 69 of file stdr_info_loader.h.

Definition at line 51 of file stdr_info_loader.h.

Icon of visibility medium (orange)

Definition at line 62 of file stdr_info_loader.h.

< Icon of visibility on (green)

Icon of visibility off (red)

Definition at line 59 of file stdr_info_loader.h.

Tree item : Root.

Definition at line 65 of file stdr_info_loader.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