Mercurial > hg > multitrack-audio-matcher
view src/OutputDataWriter.h @ 55:2eca10a31ae2
improving printing of information, looking at how tempo is modelled
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Mon, 10 Dec 2012 17:07:21 +0000 |
parents | e359b9bad811 |
children |
line wrap: on
line source
/* * outputDataWriter.h * MultipleAudioMathcher * * Created by Andrew on 25/04/2012. * Copyright 2012 QMUL. All rights reserved. * */ #ifndef OUTPUT_DATA_WRITER_H #define OUTPUT_DATA_WRITER_H // basic file operations for text file stuff #include <iostream> #include <fstream> using namespace std; class OutputDataWriter{ public: OutputDataWriter(); ~OutputDataWriter(); std::string filepath; ofstream outputFile; void openFile(); void openFile(std::string pathname); void closeFile(); void writeValue(const double& valueOne, const double& valueTwo); void writeOutput(const int& liveTime, const int& rehearsalTime, const int& playedRehearsalTime); }; #endif