2010-03-04 11:59:17 +01:00
|
|
|
#ifndef _OWLPS_POSITIONING_OUTPUT_HH_
|
|
|
|
#define _OWLPS_POSITIONING_OUTPUT_HH_
|
|
|
|
|
|
|
|
class OutputMedium ;
|
|
|
|
class Result ;
|
|
|
|
|
|
|
|
#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-03-15 15:27:42 +01:00
|
|
|
void initialise_output_socket(void) ;
|
2010-03-04 11:59:17 +01:00
|
|
|
//@}
|
|
|
|
|
|
|
|
public:
|
|
|
|
Output(void) ;
|
|
|
|
|
|
|
|
~Output(void) ;
|
|
|
|
|
|
|
|
/** @name Operations */
|
|
|
|
//@{
|
|
|
|
void write(const Result &result) const ;
|
|
|
|
//@}
|
|
|
|
} ;
|
|
|
|
|
|
|
|
#endif // _OWLPS_POSITIONING_OUTPUT_HH_
|