printf("(id: %03u) in Testbench ",sensor->get_id());
setColor(TXTCOLOR_LIGHTCYAN);
printf("%s ",testbench->get_name().c_str());
setColor(TXTCOLOR_GREY);
printf("(id: %03u)\n",testbench->get_id());
#endif // PRINT
returntrue;
}
else{
#ifdef PRINT
setColor(TXTCOLOR_LIGHTRED);
printf("Couldn't attach the CSVreaderModule!\n");
setColor(TXTCOLOR_GREY);
#endif // PRINT
}
}
else{
#ifdef PRINT
setColor(TXTCOLOR_LIGHTRED);
printf(" > Couldn't attach the CSVreaderModule because Sensor isn't registered in %s (id: %03u)!\n",testbench->get_name().c_str(),testbench->get_id());
setColor(TXTCOLOR_GREY);
#endif // PRINT
}
}
else{
#ifdef PRINT
setColor(TXTCOLOR_LIGHTRED);
printf(" > Couldn't attach the CSVreaderModule because Testbench, Sensorm or CSVreaderModule is not valid!\n");