comparison projects/d-box/logger.h @ 0:8a575ba3ab52

Initial commit.
author andrewm
date Fri, 31 Oct 2014 19:10:17 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:8a575ba3ab52
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 <fstream> // file handle
15 #include <iostream> // stringstream
16 #include <sstream> // stringstream
17 #include <glob.h> // alternative to dirent.h to handle files in dirs
18 #include <iomanip> // setfill
19 #include <sys/time.h> // elapsed time
20
21 #include "config.h"
22 #include "prio.h"
23
24 using namespace std;
25
26 int initLogLoop();
27 void *logLoop(void *);
28
29
30 #endif /* LOGGER_H_ */