30 lines
578 B
C++
30 lines
578 B
C++
|
#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_
|