Changeset 340 in flair-src for trunk/lib/FlairSensorActuator/src/UsRangeFinder.cpp
- Timestamp:
- 11/28/19 17:08:04 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSensorActuator/src/UsRangeFinder.cpp
r318 r340 49 49 } 50 50 51 UsRangeFinder::UsRangeFinder(const IODevice *parent, std::string name)52 : IODevice(parent, name) {53 plot_tab = NULL;54 main_tab = NULL;55 tab = NULL;56 sensor_tab = NULL;57 setup_groupbox = NULL;58 59 output = NULL;60 }61 62 51 UsRangeFinder::~UsRangeFinder() { 63 if (main_tab != NULL)64 52 delete main_tab; 65 53 } … … 76 64 77 65 void UsRangeFinder::UseDefaultPlot(void) { 78 if (tab == NULL) {79 Err("not applicable for simulation part.\n");80 return;81 }82 83 66 plot_tab = new Tab(tab, "Mesures"); 84 67 plot = new DataPlot1D(plot_tab->NewRow(), ObjectName(), 0, 2);
Note:
See TracChangeset
for help on using the changeset viewer.