Mercurial > hg > beaglert
view examples/d-box/logger.h @ 302:b26e7c61e3b6 prerelease
Makefile can now stop processes 'make stop'
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Fri, 27 May 2016 17:28:24 +0100 |
parents | dbeed520b014 |
children | 421a69d42943 |
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 <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_ */