6 #ifndef _INCLUDE_WATERMARKER_ABSTRACTWATERMARKER_H_
7 #define _INCLUDE_WATERMARKER_ABSTRACTWATERMARKER_H_
16 #include <Utils/IntelliLog.h>
17 #define WM_INFO INTELLI_INFO
18 #define WM_ERROR INTELLI_ERROR
19 #define WM_WARNNING INTELLI_WARNING
20 using namespace INTELLI;
40 struct timeval timeBaseStruct;
46 virtual double estimateError(
size_t wid = 1);
77 virtual bool init(
void);
89 virtual bool deleteWindow(
size_t wid);
116 #define newAbstractWaterMarker std::make_shared<OoOJoin::AbstractWaterMarker>
The abstraction to describe a watermark generator, providing virtual function of deciding watermark g...
Definition: AbstractWaterMarker.h:30
void setErrorBound(double err)
Separately set the errorBound.
Definition: AbstractWaterMarker.h:56
void syncTimeStruct(struct timeval tv)
Synchronize the time structure with outside setting.
Definition: AbstractWaterMarker.h:63
double errorBound
The assigned error bound, read from configuration.
Definition: AbstractWaterMarker.h:35
uint64_t tsType
Definition: Tuples.h:20
std::shared_ptr< class TrackTuple > TrackTuplePtr
The class to describe a shared pointer to TrackTuple.
Definition: Tuples.h:171
std::shared_ptr< ConfigMap > ConfigMapPtr
The class to describe a shared pointer to ConfigMap.
Definition: ConfigMap.hpp:356
Definition: OperatorTable.cpp:7
std::shared_ptr< class AbstractWaterMarker > AbstractWaterMarkerPtr
The class to describe a shared pointer to AbstractWaterMarker.
Definition: AbstractWaterMarker.h:111