Public Member Functions | Public Attributes | Private Attributes | List of all members
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>

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

Public Member Functions

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

Public Attributes

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

Private Attributes

int argc_
 < Number of input arguments More...
 
char ** argv_
 Icon of visualization actions. More...
 
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.

stdr_gui::CInfoLoader::~CInfoLoader ( void  )

Default destructor.

Returns
void

Definition at line 90 of file stdr_info_loader.cpp.

Member Function Documentation

void stdr_gui::CInfoLoader::autoResizeColumns ( void  )

Autoresizes the columns according to the visible contents.

Returns
void
void stdr_gui::CInfoLoader::deleteTree ( 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

int stdr_gui::CInfoLoader::argc_
private

< Number of input arguments

Input arguments

Definition at line 46 of file stdr_info_loader.h.

char** stdr_gui::CInfoLoader::argv_
private

Icon of visualization actions.

Definition at line 48 of file stdr_info_loader.h.

QTreeWidgetItem stdr_gui::CInfoLoader::generalInfo

Tree item : Robot root.

Definition at line 66 of file stdr_info_loader.h.

QTreeWidgetItem stdr_gui::CInfoLoader::mapHeight

Tree item : Map width.

Definition at line 70 of file stdr_info_loader.h.

QTreeWidgetItem stdr_gui::CInfoLoader::mapOcgd

Definition at line 74 of file stdr_info_loader.h.

QTreeWidgetItem stdr_gui::CInfoLoader::mapWidth

Tree item : Map resolution.

Definition at line 72 of file stdr_info_loader.h.

QTreeWidgetItem stdr_gui::CInfoLoader::robotsInfo

Tree item : Map height.

Definition at line 68 of file stdr_info_loader.h.

QIcon stdr_gui::CInfoLoader::visible_icon_
private

Definition at line 51 of file stdr_info_loader.h.

QIcon stdr_gui::CInfoLoader::visible_icon_off_

Icon of visibility medium (orange)

Definition at line 60 of file stdr_info_loader.h.

QIcon stdr_gui::CInfoLoader::visible_icon_on_

< Icon of visibility on (green)

Icon of visibility off (red)

Definition at line 57 of file stdr_info_loader.h.

QIcon stdr_gui::CInfoLoader::visible_icon_trans_

Tree item : Root.

Definition at line 63 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 Mon Jun 10 2019 15:15:17