Serves the Qt events of the tree-like information widget. Inherits from QObject.
More...
#include <stdr_info_connector.h>
|
void | adaptColumns (QTreeWidgetItem *item, int column) |
| Adapts the columns width according to what is visible when an item is clicked. More...
|
|
void | adaptColumns (QTreeWidgetItem *item) |
| Adapts the columns width according to what is visible when an item expands or collapses. More...
|
|
void | adaptSlot (void) |
| Adapts the columns width according to what is visible. Called when adaptSignal is emmited. More...
|
|
void | setCO2SensorVisibility (QString robotName, QString co2SensorName, char vs) |
| Changes a co2 sensor visibility icon. More...
|
|
void | setLaserVisibility (QString robotName, QString laserName, char vs) |
| Changes a laser visibility icon. More...
|
|
void | setRfidReaderVisibility (QString robotName, QString rfidReaderName, char vs) |
| Changes a rfid reader visibility icon. More...
|
|
void | setRobotVisibility (QString robotName, char vs) |
| Changes a robot visibility icon. More...
|
|
void | setSonarVisibility (QString robotName, QString sonarName, char vs) |
| Changes a sonar visibility icon. More...
|
|
void | setSoundSensorVisibility (QString robotName, QString soundSensorName, char vs) |
| Changes a sound sensor visibility icon. More...
|
|
void | setThermalSensorVisibility (QString robotName, QString thermalSensorName, char vs) |
| Changes a thermal sensor visibility icon. More...
|
|
void | treeItemClicked (QTreeWidgetItem *item, int column) |
| Called when a click occurs in the tree. More...
|
|
Serves the Qt events of the tree-like information widget. Inherits from QObject.
Definition at line 37 of file stdr_info_connector.h.
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.
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
QWidget * stdr_gui::CInfoConnector::getLoader |
( |
void |
| ) |
|
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.
int stdr_gui::CInfoConnector::argc_ |
|
private |
char** stdr_gui::CInfoConnector::argv_ |
|
private |
The documentation for this class was generated from the following files: