owlps/owlps-positioning/src/mobilesreadercsv.hh

37 lines
749 B
C++

/*
* This file is part of the Owl Positioning System (OwlPS).
* OwlPS is a project of the University of Franche-Comté
* (Université de Franche-Comté), France.
*/
#ifndef _OWLPS_POSITIONING_MOBILESREADERCSV_HH_
#define _OWLPS_POSITIONING_MOBILESREADERCSV_HH_
class Point3D ;
#include "csvfilereader.hh"
#include <string>
/// Reads and registers to the Stock Mobile list from CSV files
/**
* CSV format for access points is:
* MAC;Antenna_gain_dBi;Trx_power_dBm
*/
class MobilesReaderCSV
{
protected:
CSVFileReader file ;
void read_devices(void) ;
void process_device_line(void) ;
public:
MobilesReaderCSV(const std::string &file_name) ;
~MobilesReaderCSV(void) {}
} ;
#endif // _OWLPS_POSITIONING_MOBILESREADERCSV_HH_