hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
Classes | Namespaces | Typedefs | Functions
signals.C File Reference
#include <hobbes/db/signals.H>
#include <hobbes/db/file.H>
#include <hobbes/events/events.H>
#include <hobbes/util/os.H>
#include <hobbes/hobbes.H>
#include <vector>
#include <set>
#include <string.h>
#include <errno.h>
Include dependency graph for signals.C:

Classes

struct  hobbes::ByteRangeWatch
 
struct  hobbes::FileWatch
 
struct  hobbes::addFileSignalF
 
class  hobbes::signalsF
 
class  hobbes::AddDBFieldSignal
 
struct  hobbes::ADBFSigUnqualify
 

Namespaces

 hobbes
 

Typedefs

typedef bool(* hobbes::ChangeSignal) (long)
 
typedef std::set< ChangeSignal > hobbes::ChangeSignals
 
typedef std::map< uint64_t, ByteRangeWatch > hobbes::ByteRangeWatches
 
typedef std::vector< FileWatch > hobbes::FileWatches
 
typedef std::pair< bool, uint64_t > hobbes::IsArrOldVal
 
typedef std::pair< uint64_t, IsArrOldVal > hobbes::OffsetData
 
typedef std::pair< const array< char > *, const array< OffsetData > * > hobbes::FileWatchData
 

Functions

FRefT hobbes::assumeFRefT (const MonoTypePtr &ty, const LexicalAnnotation &la)
 
bool hobbes::unpackFileType (const MonoTypePtr &fty, UTFileConfig *fcfg)
 
bool hobbes::unpackFileType (const MonoTypePtr &fty, FileConfig *fcfg)
 
MonoTypePtr hobbes::injFileReferences (const MonoTypePtr &ty, const ExprPtr &f)
 
void hobbes::sweepFileWatch (FileWatch &fw)
 
const array< FileWatchData > * hobbes::fileWatchData ()
 
void hobbes::addFileSignal (long file, long off, long sz, bool isArr, ChangeSignal f)
 
void hobbes::addFileSOSignal (long file, unsigned int so, bool isArr, ChangeSignal f)
 
const MonoTypePtr & hobbes::frefType (const MonoTypePtr &fref)
 
bool hobbes::pullTypeArg (const std::string &fname, size_t idx, MonoTypePtr *p, const MonoTypePtr &ty)
 
const Record * hobbes::signalRecord (const MonoTypePtr &r)
 
ExprPtr hobbes::sigFileExpr (const ExprPtr &e)
 
MonoTypePtr hobbes::sigFnType (const std::string &fn, const ExprPtr &db)
 
void hobbes::initSignalsDefs (FieldVerifier *, cc &)