 |
Fledge
An open source edge computing platform for industrial users
|
1 #ifndef _PIPELINE_DEBUGGER_H
2 #define _PIPELINE_DEBUGGER_H
12 #include <reading_set.h>
14 #include <reading_circularbuffer.h>
26 typedef enum debuggerActions
34 std::vector<std::shared_ptr<Reading>>
38 std::mutex m_bufferMutex;
DebuggerActions process(ReadingSet *readingSet)
Process a reading set as it flows through the pipeline.
Definition: pipeline_debugger.cpp:38
~PipelineDebugger()
Destructor for the pipeline element debugger.
Definition: pipeline_debugger.cpp:24
void clearBuffer()
Remove the circular buffer of readings and stop the process of storing future readings.
Definition: pipeline_debugger.cpp:67
Reading set class.
Definition: reading_set.h:26
std::vector< std::shared_ptr< Reading > > fetchBuffer()
Fetch the current contents of the circular buffer.
Definition: pipeline_debugger.cpp:84
void setBuffer(unsigned int size)
Set the size of the circular buffer used to buffer the data flowing in the pipeline.
Definition: pipeline_debugger.cpp:53
A circular buffer of readings.
Definition: reading_circularbuffer.h:24
PipelineDebugger()
Constructor for the pipeline element debugger.
Definition: pipeline_debugger.cpp:17
The debugger class for elements in a pipeline.
Definition: pipeline_debugger.h:22