gaze  0.1.0
Perform gaze tracking with common webcams.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
pipeline_step.h
1 #ifndef INCLUDE_GAZE_PIPELINE_STEP_H_
2 #define INCLUDE_GAZE_PIPELINE_STEP_H_
3 
4 #include <string>
5 
6 #include "gaze/util/data.h"
7 
8 
9 namespace gaze {
10 
18 class PipelineStep {
19  static int counter;
20 
21  protected:
25  int number;
26 
32 
33  public:
37  PipelineStep();
38 
87  virtual ~PipelineStep() = default;
88 
98  virtual void process(util::Data& data) = 0; // NOLINT
100 
109 };
110 
111 } // namespace gaze
112 
113 #endif // INCLUDE_GAZE_PIPELINE_STEP_H_
Abstract base class for PipelineSteps. Must be inherited from.
Definition: pipeline_step.h:18
std::string get_name()
virtual void process(util::Data &data)=0
virtual ~PipelineStep()=default
std::string name
Definition: pipeline_step.h:31
Wraps the data acquired per frame into a single instance.
Definition: data.h:27