Write a new value to $VPR_HEATING (counter of consecutive vpr calculated, see scientific documentation)
- Parametri
-
[in] | value | - value to be written |
Definizione alla linea 267 del file assets.cpp.
269 LOG_CATEGORY(
"radar.vpr");
270 File out(logging_category);
271 if (!out.open_from_env(
"VPR_HEATING",
"wt"))
274 if (fprintf(out,
" %i \n", value) < 0)
275 LOG_ERROR(
"Cannot write $VPR_HEATING=%s: %s", out.name(), strerror(errno));
Open a file taking its name from a given env variable.
Referenzia radarelab::File::open_from_env().