///
/// HybridScannedObjectSpec.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 `ScannedObjectType` to properly resolve imports.
namespace margelo::nitro::camera { enum class ScannedObjectType; }
// Forward declaration of `BoundingBox` to properly resolve imports.
namespace margelo::nitro::camera { struct BoundingBox; }

#include "ScannedObjectType.hpp"
#include "BoundingBox.hpp"

namespace margelo::nitro::camera {

  using namespace margelo::nitro;

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

      // Destructor
      ~HybridScannedObjectSpec() override = default;

    public:
      // Properties
      virtual ScannedObjectType getType() = 0;
      virtual BoundingBox getBoundingBox() = 0;

    public:
      // Methods
      

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

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

} // namespace margelo::nitro::camera
