comparison examples/10-Instruments/d-box/logger.h @ 464:8fcfbfb32aa0 prerelease

Examples reorder with subdirectories. Added header to each project. Moved Doxygen to bottom of render.cpp.
author Robert Jack <robert.h.jack@gmail.com>
date Mon, 20 Jun 2016 16:20:38 +0100
parents
children
comparison
equal deleted inserted replaced
463:c47709e8b5c9 464:8fcfbfb32aa0
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_ */