Public Slots | Signals | Public Member Functions | Public Attributes | Private Attributes
stdr_gui::CInfoConnector Class Reference

Serves the Qt events of the tree-like information widget. Inherits from QObject. More...

#include <stdr_info_connector.h>

List of all members.

Public Slots

void adaptColumns (QTreeWidgetItem *item, int column)
 Adapts the columns width according to what is visible when an item is clicked.
void adaptColumns (QTreeWidgetItem *item)
 Adapts the columns width according to what is visible when an item expands or collapses.
void adaptSlot (void)
 Adapts the columns width according to what is visible. Called when adaptSignal is emmited.
void setCO2SensorVisibility (QString robotName, QString co2SensorName, char vs)
 Changes a co2 sensor visibility icon.
void setLaserVisibility (QString robotName, QString laserName, char vs)
 Changes a laser visibility icon.
void setRfidReaderVisibility (QString robotName, QString rfidReaderName, char vs)
 Changes a rfid reader visibility icon.
void setRobotVisibility (QString robotName, char vs)
 Changes a robot visibility icon.
void setSonarVisibility (QString robotName, QString sonarName, char vs)
 Changes a sonar visibility icon.
void setSoundSensorVisibility (QString robotName, QString soundSensorName, char vs)
 Changes a sound sensor visibility icon.
void setThermalSensorVisibility (QString robotName, QString thermalSensorName, char vs)
 Changes a thermal sensor visibility icon.
void treeItemClicked (QTreeWidgetItem *item, int column)
 Called when a click occurs in the tree.

Signals

void adaptSignal (void)
 Emmited when resize of columns according to whats visible is needed.
void co2SensorVisibilityClicked (QString robotName, QString co2SensorName)
 Emmited when a co2 sensor visibility icon is clicked.
void laserVisibilityClicked (QString robotName, QString laserName)
 Emmited when a laser visibility icon is clicked.
void laserVisualizerClicked (QString robotName, QString laserName)
 Emmited when a laser visualizer is clicked.
void rfidReaderVisibilityClicked (QString robotName, QString rfidReaderName)
 Emmited when a rfid reader visibility icon is clicked.
void robotVisibilityClicked (QString robotName)
 Emmited when a robot visibility icon is clicked.
void robotVisualizerClicked (QString robotName)
 Emmited when a robot visualizer is clicked.
void sonarVisibilityClicked (QString robotName, QString sonarName)
 Emmited when a sonar visibility icon is clicked.
void sonarVisualizerClicked (QString robotName, QString sonarName)
 Emmited when a sonar visualizer is clicked.
void soundSensorVisibilityClicked (QString robotName, QString soundSensorName)
 Emmited when a sound sensor visibility icon is clicked.
void thermalSensorVisibilityClicked (QString robotName, QString thermalSensorName)
 Emmited when a thermal sensor visibility icon is clicked.

Public Member Functions

 CInfoConnector (int argc, char **argv)
 Default contructor.
QWidget * getLoader (void)
 Returns the CInfoLoader object.
void updateMapInfo (float width, float height, float ocgd)
 Updates the information tree according to the specific map.
void updateTree (const stdr_msgs::RobotIndexedVectorMsg &msg)
 Updates the information tree according to the ensemble of robots.

Public Attributes

CInfoLoader loader
 < Object of CInfoLoader

Private Attributes

int argc_
 < Number of input arguments
char ** argv_

Detailed Description

Serves the Qt events of the tree-like information widget. Inherits from QObject.

Definition at line 37 of file stdr_info_connector.h.


Constructor & Destructor Documentation

stdr_gui::CInfoConnector::CInfoConnector ( 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_connector.cpp.


Member Function Documentation

void stdr_gui::CInfoConnector::adaptColumns ( QTreeWidgetItem *  item,
int  column 
) [slot]

Adapts the columns width according to what is visible when an item is clicked.

Parameters:
item[QTreeWidgetItem*] Item clicked
column[int] Column clicked
Returns:
void

Definition at line 69 of file stdr_info_connector.cpp.

void stdr_gui::CInfoConnector::adaptColumns ( QTreeWidgetItem *  item) [slot]

Adapts the columns width according to what is visible when an item expands or collapses.

Parameters:
item[QTreeWidgetItem*] Item expanded / collapsed
Returns:
void

Definition at line 82 of file stdr_info_connector.cpp.

void stdr_gui::CInfoConnector::adaptSignal ( void  ) [signal]

Emmited when resize of columns according to whats visible is needed.

Returns:
void
void stdr_gui::CInfoConnector::adaptSlot ( void  ) [slot]

Adapts the columns width according to what is visible. Called when adaptSignal is emmited.

Returns:
void

Definition at line 94 of file stdr_info_connector.cpp.

void stdr_gui::CInfoConnector::co2SensorVisibilityClicked ( QString  robotName,
QString  co2SensorName 
) [signal]

Emmited when a co2 sensor visibility icon is clicked.

Parameters:
robotName[QString] The robot frame id
co2SensorName[QString] The co2 sensor frame id
Returns:
void

Returns the CInfoLoader object.

Returns:
QWidget*

Definition at line 199 of file stdr_info_connector.cpp.

void stdr_gui::CInfoConnector::laserVisibilityClicked ( QString  robotName,
QString  laserName 
) [signal]

Emmited when a laser visibility icon is clicked.

Parameters:
robotName[QString] The robot frame id
laserName[QString] The laser frame id
Returns:
void
void stdr_gui::CInfoConnector::laserVisualizerClicked ( QString  robotName,
QString  laserName 
) [signal]

Emmited when a laser visualizer is clicked.

Parameters:
robotName[QString] The robot frame id
laserName[QString] The laser frame id
Returns:
void
void stdr_gui::CInfoConnector::rfidReaderVisibilityClicked ( QString  robotName,
QString  rfidReaderName 
) [signal]

Emmited when a rfid reader visibility icon is clicked.

Parameters:
robotName[QString] The robot frame id
rfidReaderName[QString] The rfid reader frame id
Returns:
void
void stdr_gui::CInfoConnector::robotVisibilityClicked ( QString  robotName) [signal]

Emmited when a robot visibility icon is clicked.

Parameters:
robotName[QString] The robot frame id
Returns:
void
void stdr_gui::CInfoConnector::robotVisualizerClicked ( QString  robotName) [signal]

Emmited when a robot visualizer is clicked.

Parameters:
robotName[QString] The robot frame id
Returns:
void
void stdr_gui::CInfoConnector::setCO2SensorVisibility ( QString  robotName,
QString  sensorName,
char  vs 
) [slot]

Changes a co2 sensor visibility icon.

Parameters:
robotName[QString] The robot frame id
co2SensorName[QString] The co2Sensor frame id
vs[char] The visibility state
Returns:
void
Parameters:
robotName[QString] The robot frame id
sensorName[QString] The sensor frame id
vs[char] The visibility state
Returns:
void

Definition at line 366 of file stdr_info_connector.cpp.

void stdr_gui::CInfoConnector::setLaserVisibility ( QString  robotName,
QString  laserName,
char  vs 
) [slot]

Changes a laser visibility icon.

Parameters:
robotName[QString] The robot frame id
laserName[QString] The laser frame id
vs[char] The visibility state
Returns:
void

Definition at line 211 of file stdr_info_connector.cpp.

void stdr_gui::CInfoConnector::setRfidReaderVisibility ( QString  robotName,
QString  rfidReaderName,
char  vs 
) [slot]

Changes a rfid reader visibility icon.

Parameters:
robotName[QString] The robot frame id
rfidReaderName[QString] The rfidReader frame id
vs[char] The visibility state
Returns:
void
Parameters:
robotName[QString] The robot frame id
rfidReaderName[QString] The rfid reader frame id
vs[char] The visibility state
Returns:
void

Definition at line 315 of file stdr_info_connector.cpp.

void stdr_gui::CInfoConnector::setRobotVisibility ( QString  robotName,
char  vs 
) [slot]

Changes a robot visibility icon.

Parameters:
robotName[QString] The robot frame id
vs[char] The visibility state
Returns:
void

Definition at line 519 of file stdr_info_connector.cpp.

void stdr_gui::CInfoConnector::setSonarVisibility ( QString  robotName,
QString  sonarName,
char  vs 
) [slot]

Changes a sonar visibility icon.

Parameters:
robotName[QString] The robot frame id
sonarName[QString] The sonar frame id
vs[char] The visibility state
Returns:
void

Definition at line 263 of file stdr_info_connector.cpp.

void stdr_gui::CInfoConnector::setSoundSensorVisibility ( QString  robotName,
QString  sensorName,
char  vs 
) [slot]

Changes a sound sensor visibility icon.

Parameters:
robotName[QString] The robot frame id
soundSensorName[QString] The soundSensor frame id
vs[char] The visibility state
Returns:
void
Parameters:
robotName[QString] The robot frame id
sensorName[QString] The sensor frame id
vs[char] The visibility state
Returns:
void

Definition at line 468 of file stdr_info_connector.cpp.

void stdr_gui::CInfoConnector::setThermalSensorVisibility ( QString  robotName,
QString  sensorName,
char  vs 
) [slot]

Changes a thermal sensor visibility icon.

Parameters:
robotName[QString] The robot frame id
thermalSensorName[QString] The thermalSensor frame id
vs[char] The visibility state
Returns:
void
Parameters:
robotName[QString] The robot frame id
sensorName[QString] The sensor frame id
vs[char] The visibility state
Returns:
void

Definition at line 417 of file stdr_info_connector.cpp.

void stdr_gui::CInfoConnector::sonarVisibilityClicked ( QString  robotName,
QString  sonarName 
) [signal]

Emmited when a sonar visibility icon is clicked.

Parameters:
robotName[QString] The robot frame id
sonarName[QString] The sonar frame id
Returns:
void
void stdr_gui::CInfoConnector::sonarVisualizerClicked ( QString  robotName,
QString  sonarName 
) [signal]

Emmited when a sonar visualizer is clicked.

Parameters:
robotName[QString] The robot frame id
sonarName[QString] The sonar frame id
Returns:
void
void stdr_gui::CInfoConnector::soundSensorVisibilityClicked ( QString  robotName,
QString  soundSensorName 
) [signal]

Emmited when a sound sensor visibility icon is clicked.

Parameters:
robotName[QString] The robot frame id
soundSensorName[QString] The sound sensor frame id
Returns:
void
void stdr_gui::CInfoConnector::thermalSensorVisibilityClicked ( QString  robotName,
QString  thermalSensorName 
) [signal]

Emmited when a thermal sensor visibility icon is clicked.

Parameters:
robotName[QString] The robot frame id
thermalSensorName[QString] The thermal sensor frame id
Returns:
void
void stdr_gui::CInfoConnector::treeItemClicked ( QTreeWidgetItem *  item,
int  column 
) [slot]

Called when a click occurs in the tree.

Parameters:
item[QTreeWidgetItem*] Item clicked
column[int] Column clicked
Returns:
void

Definition at line 136 of file stdr_info_connector.cpp.

void stdr_gui::CInfoConnector::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 109 of file stdr_info_connector.cpp.

void stdr_gui::CInfoConnector::updateTree ( 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 120 of file stdr_info_connector.cpp.


Member Data Documentation

< Number of input arguments

Input arguments

Definition at line 45 of file stdr_info_connector.h.

Definition at line 46 of file stdr_info_connector.h.

< Object of CInfoLoader

Definition at line 52 of file stdr_info_connector.h.


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


stdr_gui
Author(s): Manos Tsardoulias
autogenerated on Tue Feb 7 2017 03:46:43