///
/// HybridFaceDetectorFactorySpec.hpp
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © Marc Rousavy @ Margelo
///

#pragma once

#if __has_include(<NitroModules/HybridObject.hpp>)
#include <NitroModules/HybridObject.hpp>
#else
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
#endif

// Forward declaration of `HybridFaceDetectorSpec` to properly resolve imports.
namespace margelo::nitro::camera::facedetector { class HybridFaceDetectorSpec; }
// Forward declaration of `FaceDetectorOptions` to properly resolve imports.
namespace margelo::nitro::camera::facedetector { struct FaceDetectorOptions; }
// Forward declaration of `HybridCameraOutputSpec` to properly resolve imports.
namespace margelo::nitro::camera { class HybridCameraOutputSpec; }
// Forward declaration of `FaceDetectorOutputOptions` to properly resolve imports.
namespace margelo::nitro::camera::facedetector { struct FaceDetectorOutputOptions; }

#include <memory>
#include "HybridFaceDetectorSpec.hpp"
#include "FaceDetectorOptions.hpp"
#include <VisionCamera/HybridCameraOutputSpec.hpp>
#include "FaceDetectorOutputOptions.hpp"

namespace margelo::nitro::camera::facedetector {

  using namespace margelo::nitro;

  /**
   * An abstract base class for `FaceDetectorFactory`
   * Inherit this class to create instances of `HybridFaceDetectorFactorySpec` in C++.
   * You must explicitly call `HybridObject`'s constructor yourself, because it is virtual.
   * @example
   * ```cpp
   * class HybridFaceDetectorFactory: public HybridFaceDetectorFactorySpec {
   * public:
   *   HybridFaceDetectorFactory(...): HybridObject(TAG) { ... }
   *   // ...
   * };
   * ```
   */
  class HybridFaceDetectorFactorySpec: public virtual HybridObject {
    public:
      // Constructor
      explicit HybridFaceDetectorFactorySpec(): HybridObject(TAG) { }

      // Destructor
      ~HybridFaceDetectorFactorySpec() override = default;

    public:
      // Properties
      

    public:
      // Methods
      virtual std::shared_ptr<HybridFaceDetectorSpec> createFaceDetector(const FaceDetectorOptions& options) = 0;
      virtual std::shared_ptr<margelo::nitro::camera::HybridCameraOutputSpec> createFaceDetectorOutput(const FaceDetectorOutputOptions& options) = 0;

    protected:
      // Hybrid Setup
      void loadHybridMethods() override;

    protected:
      // Tag for logging
      static constexpr auto TAG = "FaceDetectorFactory";
  };

} // namespace margelo::nitro::camera::facedetector
