#include "datafetcher.h" #include "globalparameters.h" #include "mysqlutils.h" #include DataFetcher::DataFetcher() { } DataFetcher::~DataFetcher() { } bool DataFetcher::Fetch(TableData& tbl_data) { int rows = MysqlUtils::getInstance()->RetrieveTableData(tbl_data); if (rows < 0) { hloge("Failed to retrieve signal data"); return false; } return true; } int DataFetcher::VerifyStatus() { return STATUS_NORMAL; }