Bela
Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
 All Classes Files Functions Variables Typedefs Macros Groups
logger.h
1 /*
2  * logger.h
3  *
4  * Created on: Aug 6, 2014
5  * Author: Victor Zappi and Andrew McPherson
6  */
7 
8 #ifndef LOGGER_H_
9 #define LOGGER_H_
10 
11 #include <string.h>
12 #include <pthread.h>
13 #include <stdio.h>
14 #include <unistd.h>
15 #include <fstream> // file handle
16 #include <iostream> // stringstream
17 #include <sstream> // stringstream
18 #include <glob.h> // alternative to dirent.h to handle files in dirs
19 #include <iomanip> // setfill
20 #include <sys/time.h> // elapsed time
21 
22 #include "config.h"
23 #include "prio.h"
24 
25 using namespace std;
26 
27 int initLogLoop();
28 void *logLoop(void *);
29 
30 
31 #endif /* LOGGER_H_ */