Mercurial > hg > beaglert
view examples/10-Instruments/d-box/logger.h @ 487:7eefd4b3aec3 prerelease
Fixed and tested (for what possible) heavy Midi behaviour. Would be good to have abstraction wrappers for regular [pgmin] [polytouchin] [bendin] and [touchin]
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Tue, 21 Jun 2016 16:28:59 +0100 (2016-06-21) |
parents | 8fcfbfb32aa0 |
children |
line wrap: on
line source
/* * logger.h * * Created on: Aug 6, 2014 * Author: Victor Zappi and Andrew McPherson */ #ifndef LOGGER_H_ #define LOGGER_H_ #include <string.h> #include <pthread.h> #include <stdio.h> #include <unistd.h> #include <fstream> // file handle #include <iostream> // stringstream #include <sstream> // stringstream #include <glob.h> // alternative to dirent.h to handle files in dirs #include <iomanip> // setfill #include <sys/time.h> // elapsed time #include "config.h" #include "prio.h" using namespace std; int initLogLoop(); void *logLoop(void *); #endif /* LOGGER_H_ */