Definition at line 990 of file smartfact.cc.
References Sun::color, Moon::color, Sun::description, Moon::description, Time::GetAsStr(), EventImp::GetJavaDate(), i, Sun::isday, Time::IsValid(), HTML::kWhite, EventImp::Ptr(), size, Moon::time, and Sun::time.
Referenced by StateMachineSmartFACT().
1008 out << setprecision(2);
1013 out << setprecision(3);
1014 for (
int i=0;
i<6;
i++)
1023 ofstream(
fPath+
"/weather.data") << out.str();
void WriteWeather(const EventImp &d, const string &name, int i, float min, float max)
int GetCurrentState() const
return the current state of the machine
deque< float > fTngWeatherDustHist
bool CheckDataSize(const EventImp &d, const char *name, size_t size, bool min=false)
static const string kWhite
uint64_t GetJavaDate() const
deque< float > fMagicWeatherHist[kWeatherEnd]
string GetDir(const double angle)
std::string GetAsStr(const char *fmt="%Y-%m-%d %H:%M:%S") const
const T * Ptr(size_t offset=0) const