///
/// HybridPlaybackEngineFactorySpec.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 `HybridPlaybackEngineSpec` to properly resolve imports.
namespace margelo::nitro::aviation { class HybridPlaybackEngineSpec; }

#include <memory>
#include "HybridPlaybackEngineSpec.hpp"

namespace margelo::nitro::aviation {

  using namespace margelo::nitro;

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

      // Destructor
      ~HybridPlaybackEngineFactorySpec() override = default;

    public:
      // Properties
      

    public:
      // Methods
      virtual std::shared_ptr<HybridPlaybackEngineSpec> create() = 0;

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

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

} // namespace margelo::nitro::aviation
