annotate examples/d-box/logger.h @ 383:e42bc9ba7550 prerelease

Fixed when rebuilding non-main() project after main() project: the 'nasty kludge' was looking in ALL the .o files in projectFolder/build/ instead of only those that have a corresponding .cpp/.c/.S file. An even better fix is make sure that object files associated with source files deleted by rsync are removed as well
author Giulio Moro <giuliomoro@yahoo.it>
date Mon, 13 Jun 2016 00:44:47 +0100
parents 421a69d42943
children
rev   line source
andrewm@0 1 /*
andrewm@0 2 * logger.h
andrewm@0 3 *
andrewm@0 4 * Created on: Aug 6, 2014
andrewm@0 5 * Author: Victor Zappi and Andrew McPherson
andrewm@0 6 */
andrewm@0 7
andrewm@0 8 #ifndef LOGGER_H_
andrewm@0 9 #define LOGGER_H_
andrewm@0 10
andrewm@0 11 #include <string.h>
andrewm@0 12 #include <pthread.h>
andrewm@0 13 #include <stdio.h>
andrewm@303 14 #include <unistd.h>
andrewm@0 15 #include <fstream> // file handle
andrewm@0 16 #include <iostream> // stringstream
andrewm@0 17 #include <sstream> // stringstream
andrewm@0 18 #include <glob.h> // alternative to dirent.h to handle files in dirs
andrewm@0 19 #include <iomanip> // setfill
andrewm@0 20 #include <sys/time.h> // elapsed time
andrewm@0 21
andrewm@0 22 #include "config.h"
andrewm@0 23 #include "prio.h"
andrewm@0 24
andrewm@0 25 using namespace std;
andrewm@0 26
andrewm@0 27 int initLogLoop();
andrewm@0 28 void *logLoop(void *);
andrewm@0 29
andrewm@0 30
andrewm@0 31 #endif /* LOGGER_H_ */