annotate src/OutputDataWriter.h @ 46:ba36a1721538

Added abs median calculation, match forwards and backwards paths
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Tue, 08 May 2012 23:16:00 +0100
parents b7ad807c9cde
children e359b9bad811
rev   line source
andrew@43 1 /*
andrew@43 2 * outputDataWriter.h
andrew@43 3 * MultipleAudioMathcher
andrew@43 4 *
andrew@43 5 * Created by Andrew on 25/04/2012.
andrew@43 6 * Copyright 2012 QMUL. All rights reserved.
andrew@43 7 *
andrew@43 8 */
andrew@43 9
andrew@43 10
andrew@43 11
andrew@43 12
andrew@43 13 #ifndef OUTPUT_DATA_WRITER_H
andrew@43 14 #define OUTPUT_DATA_WRITER_H
andrew@43 15
andrew@43 16
andrew@43 17 // basic file operations for text file stuff
andrew@43 18 #include <iostream>
andrew@43 19 #include <fstream>
andrew@43 20 using namespace std;
andrew@43 21
andrew@43 22 class OutputDataWriter{
andrew@43 23
andrew@43 24 public:
andrew@43 25 OutputDataWriter();
andrew@43 26 std::string filepath;
andrew@43 27 ofstream outputFile;
andrew@43 28
andrew@43 29 void openFile();
andrew@43 30 void closeFile();
andrew@43 31
andrew@43 32 void writeOutput(const int& liveTime, const int& rehearsalTime, const int& playedRehearsalTime);
andrew@43 33 };
andrew@43 34 #endif