Program Listing for File visual-pipeline-null.h

Return to documentation for file (aslam_cv2/aslam_cv_pipeline/include/aslam/pipeline/visual-pipeline-null.h)

#ifndef NULL_VISUAL_PIPELINE_H
#define NULL_VISUAL_PIPELINE_H

#include "visual-pipeline.h"

namespace aslam {

class NullVisualPipeline : public VisualPipeline {
public:
  ASLAM_POINTER_TYPEDEFS(NullVisualPipeline);
  ASLAM_DISALLOW_EVIL_CONSTRUCTORS(NullVisualPipeline);

  NullVisualPipeline(const Camera::ConstPtr& camera, bool copyImages);

  virtual ~NullVisualPipeline() {};

protected:
  virtual void processFrameImpl(const cv::Mat& /* image */,
                                VisualFrame* /* frame */) const { }

};

}  // namespace aslam

#endif // NULL_VISUAL_PIPELINE_H