
//---------------------------------------------------------------------
// This file is automatically generated. All manual edits will be lost.
//---------------------------------------------------------------------
// Service registrar header for the NI-RFMXLTE Metadata
//---------------------------------------------------------------------
#ifndef NIRFMXLTE_GRPC_SERVICE_REGISTRAR_H
#define NIRFMXLTE_GRPC_SERVICE_REGISTRAR_H
#include <server/feature_toggles.h>
#include <server/session_resource_repository.h>

#include <memory>

#include <niRFmxLTE.h> // for niRFmxInstrHandle

namespace grpc {
class ServerBuilder;
}

namespace nirfmxlte_grpc {
using CodeReadiness = nidevice_grpc::FeatureToggles::CodeReadiness;

std::shared_ptr<void> register_service(
  grpc::ServerBuilder& server_builder, 
  const std::shared_ptr<nidevice_grpc::SessionResourceRepository<niRFmxInstrHandle>>& resource_repository,
  const std::shared_ptr<nidevice_grpc::SessionResourceRepository<ViSession>>& vi_session_resource_repository,
  const nidevice_grpc::FeatureToggles& feature_toggles);

} // nirfmxlte_grpc

#endif  // NIRFMXLTE_GRPC_SERVICE_REGISTRAR_H
