Mercurial > hg > beaglert
diff examples/d-box/logger.h @ 300:dbeed520b014 prerelease
Renamed projects to examples
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Fri, 27 May 2016 13:58:20 +0100 |
parents | projects/d-box/logger.h@8a575ba3ab52 |
children | 421a69d42943 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/d-box/logger.h Fri May 27 13:58:20 2016 +0100 @@ -0,0 +1,30 @@ +/* + * 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_ */