Skip to content

src/runtime/core_factory.hpp

Namespaces

Name
sgns
sgns::runtime
sgns::runtime::binaryen

Classes

Name
class sgns::runtime::CoreFactory

Source code

#ifndef SUPERGENIUS_SRC_RUNTIME_CORE_FACTORY
#define SUPERGENIUS_SRC_RUNTIME_CORE_FACTORY

#include "runtime/core.hpp"

namespace sgns::runtime {

  namespace binaryen {
    class RuntimeManager;
  }

  class CoreFactory {
   public:
    virtual ~CoreFactory() = default;

    virtual std::unique_ptr<Core> createWithCode(
        std::shared_ptr<WasmProvider> wasm_provider) = 0;
  };

}  // namespace sgns::runtime

#endif  // SUPERGENIUS_SRC_RUNTIME_CORE_FACTORY

Updated on 2026-03-04 at 13:10:45 -0800