ToolDAQFramework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Namespaces | Enumerations | Functions
Utilities.h File Reference
#include "TimeDelta.h"
#include <iostream>
#include <zmq.hpp>
#include <sstream>
#include <pthread.h>
#include <map>
#include <Store.h>
#include <boost/uuid/uuid.hpp>
#include <boost/uuid/uuid_generators.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <unistd.h>

Go to the source code of this file.

Classes

struct  Thread_args
 
class  Utilities
 
struct  util::Window
 Contains the start and end of a time window, along with an ID (nominally trigger number) More...
 

Namespaces

 util
 

Enumerations

enum  util::LogLevel {
  util::FATAL =-1, util::ERROR =0, util::WARN =1, util::INFO =2,
  util::DEBUG1 =3, util::DEBUG2 =4, util::DEBUG3 =5
}
 Log level enumerations. More...
 

Functions

bool util::FileExists (std::string pathname, std::string filename)
 Check if a file exists. More...
 
void util::Log (const std::string &message, const int message_level)
 Format messages in the same way as for tools. More...
 
void util::Log (std::stringstream &message, const int message_level)
 Format messages in the same way as for tools. More...
 
static bool util::WindowSorter (const Window &lhs, const Window &rhs)
 When sorting Window structs, sort by the start time. More...