Definition at line 1960 of file smartfact.cc.
References GPS::NEMA::count, GPS::NEMA::geosep, Time::GetAsStr(), EventImp::GetJavaDate(), GPS::NEMA::hdop, GPS::NEMA::height, HTML::kGreen, HTML::kRed, HTML::kWhite, GPS::NEMA::lat, GPS::NEMA::lng, GPS::NEMA::qos, EventImp::Ref(), and GPS::NEMA::time.
Referenced by StateMachineSmartFACT().
1974 case 1: out <<
HTML::kGreen <<
"\tGPS fix [1]\n";
break;
1975 case 2: out << HTML::kGreen <<
"\tDifferential fix [2]\n";
break;
1976 default: out <<
HTML::kRed <<
"\tinvalid [" << nema.
qos <<
"]\n";
break;
1987 ofstream(
fPath+
"/gps.data") << out.str();
int GetCurrentState() const
return the current state of the machine
bool CheckDataSize(const EventImp &d, const char *name, size_t size, bool min=false)
Adds some functionality to boost::posix_time::ptime for our needs.
static const string kWhite
uint64_t GetJavaDate() const
static const string kGreen
std::string GetAsStr(const char *fmt="%Y-%m-%d %H:%M:%S") const
const T & Ref(size_t offset=0) const