annotate examples/10-Instruments/d-box/logger.h @ 479:bfc60429cca6 prerelease

build_pd_heavy improved robustness for relative paths
author Giulio Moro <giuliomoro@yahoo.it>
date Tue, 21 Jun 2016 05:03:53 +0100
parents 8fcfbfb32aa0
children
rev   line source
robert@464 1 /*
robert@464 2 * logger.h
robert@464 3 *
robert@464 4 * Created on: Aug 6, 2014
robert@464 5 * Author: Victor Zappi and Andrew McPherson
robert@464 6 */
robert@464 7
robert@464 8 #ifndef LOGGER_H_
robert@464 9 #define LOGGER_H_
robert@464 10
robert@464 11 #include <string.h>
robert@464 12 #include <pthread.h>
robert@464 13 #include <stdio.h>
robert@464 14 #include <unistd.h>
robert@464 15 #include <fstream> // file handle
robert@464 16 #include <iostream> // stringstream
robert@464 17 #include <sstream> // stringstream
robert@464 18 #include <glob.h> // alternative to dirent.h to handle files in dirs
robert@464 19 #include <iomanip> // setfill
robert@464 20 #include <sys/time.h> // elapsed time
robert@464 21
robert@464 22 #include "config.h"
robert@464 23 #include "prio.h"
robert@464 24
robert@464 25 using namespace std;
robert@464 26
robert@464 27 int initLogLoop();
robert@464 28 void *logLoop(void *);
robert@464 29
robert@464 30
robert@464 31 #endif /* LOGGER_H_ */