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
|
2016-11-03 05:10:34 +01:00
|
|
|
* https://code.lm7.fr/mcy/owlps/src/master/COPYRIGHT.t2t
|
2013-05-29 18:43:35 +02:00
|
|
|
* 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-03-04 11:59:17 +01:00
|
|
|
#ifndef _OWLPS_POSITIONING_OUTPUT_HH_
|
|
|
|
#define _OWLPS_POSITIONING_OUTPUT_HH_
|
|
|
|
|
|
|
|
class OutputMedium ;
|
2011-04-05 11:52:06 +02:00
|
|
|
class ResultList ;
|
2010-03-04 11:59:17 +01:00
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
/// Handles the outputs
|
|
|
|
class Output
|
|
|
|
{
|
|
|
|
protected:
|
|
|
|
/// List of output media used
|
|
|
|
std::vector<OutputMedium*> output_media ;
|
|
|
|
|
2010-03-05 17:24:18 +01:00
|
|
|
/** @name Operations */
|
2010-03-04 11:59:17 +01:00
|
|
|
//@{
|
|
|
|
void initialise_output_media(void) ;
|
|
|
|
void initialise_output_terminal(void) ;
|
2010-03-08 17:36:16 +01:00
|
|
|
void initialise_output_csv(void) ;
|
2011-04-04 17:37:19 +02:00
|
|
|
void initialise_output_udp_socket(void) ;
|
2011-07-14 22:07:48 +02:00
|
|
|
void initialise_output_tcpevaal_socket(void) ;
|
2010-03-04 11:59:17 +01:00
|
|
|
//@}
|
|
|
|
|
|
|
|
public:
|
|
|
|
Output(void) ;
|
|
|
|
|
|
|
|
~Output(void) ;
|
|
|
|
|
|
|
|
/** @name Operations */
|
|
|
|
//@{
|
2011-04-05 11:52:06 +02:00
|
|
|
void write(const ResultList &results) const ;
|
2010-03-04 11:59:17 +01:00
|
|
|
//@}
|
|
|
|
} ;
|
|
|
|
|
|
|
|
#endif // _OWLPS_POSITIONING_OUTPUT_HH_
|