Data *data;
string text;
- data = get_and_collect_data();
+ data = get_data();
if (data != NULL) {
text = data->to_string();
cout << text << endl;
return ret_val;
}
-
-Data *W1Device::get_and_collect_data() {
+Data *W1Device::get_data() {
Data *ret_val;
vector<double> *vect;