2012-02-06 16:44:09 +01:00
|
|
|
/*
|
2013-05-29 18:43:35 +02:00
|
|
|
* This file is part of the Owl Positioning System (OwlPS) project.
|
|
|
|
* It is subject to the copyright notice and license terms in the
|
|
|
|
* COPYRIGHT.t2t file found in the top-level directory of this
|
|
|
|
* distribution and at
|
|
|
|
* http://code.lm7.fr/p/owlps/source/tree/master/COPYRIGHT.t2t
|
|
|
|
* No part of the OwlPS Project, including this file, may be copied,
|
|
|
|
* modified, propagated, or distributed except according to the terms
|
|
|
|
* contained in the COPYRIGHT.t2t file; the COPYRIGHT.t2t file must be
|
|
|
|
* distributed along with this file, either separately or by replacing
|
2013-06-22 23:30:17 +02:00
|
|
|
* this notice by the COPYRIGHT.t2t file's contents.
|
2012-02-06 16:44:09 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
2010-04-02 15:49:22 +02:00
|
|
|
#ifndef _OWLPS_POSITIONING_INPUTDATAREADER_HH_
|
|
|
|
#define _OWLPS_POSITIONING_INPUTDATAREADER_HH_
|
|
|
|
|
2010-04-20 16:18:27 +02:00
|
|
|
class InputMedium ;
|
|
|
|
class CalibrationRequest ;
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
2011-06-20 12:11:20 +02:00
|
|
|
/// Reads input data using parameters in Configuration
|
2010-04-02 15:49:22 +02:00
|
|
|
class InputDataReader
|
|
|
|
{
|
|
|
|
protected:
|
2010-04-20 16:18:27 +02:00
|
|
|
std::vector<InputMedium*> reference_points_media ;
|
|
|
|
|
2010-06-23 17:50:44 +02:00
|
|
|
void read_access_points(void) ;
|
|
|
|
void initialise_access_points_media(void) ;
|
|
|
|
void initialise_access_points_csv(void) ;
|
|
|
|
|
2011-07-19 18:40:17 +02:00
|
|
|
void read_mobiles(void) ;
|
|
|
|
void initialise_mobiles_media(void) ;
|
|
|
|
void initialise_mobiles_csv(void) ;
|
|
|
|
|
2010-04-20 16:18:27 +02:00
|
|
|
void read_topology(void) ;
|
2010-04-02 15:49:22 +02:00
|
|
|
void initialise_topology_media(void) ;
|
|
|
|
void initialise_topology_csv(void) ;
|
|
|
|
|
2010-04-20 16:18:27 +02:00
|
|
|
void read_reference_points(void) ;
|
|
|
|
void initialise_reference_points_media(void) ;
|
|
|
|
void initialise_reference_points_csv(void) ;
|
|
|
|
void read_from_reference_points_media(void) ;
|
|
|
|
|
2010-04-02 15:49:22 +02:00
|
|
|
public:
|
|
|
|
InputDataReader(void) ;
|
|
|
|
|
2010-04-20 16:18:27 +02:00
|
|
|
~InputDataReader(void) ;
|
2010-04-02 15:49:22 +02:00
|
|
|
} ;
|
|
|
|
|
|
|
|
#endif // _OWLPS_POSITIONING_INPUTDATAREADER_HH_
|