VoiceSDK  5.0.2
voice_template_converter.h
Go to the documentation of this file.
1 /* Copyright 2022 ID R&D Inc. All Rights Reserved. */
2 
3 #pragma once
4 
5 #include <memory>
6 #include <string>
7 
8 #include <voicesdk/core/config.h>
10 
11 namespace voicesdk {
12 
17 public:
18  using Ptr = std::shared_ptr<VoiceTemplateConverter>;
19 
26  static Ptr create(const std::string& initPath);
27 
34  virtual VoiceTemplate::Ptr convertVoiceTemplate(const VoiceTemplate::Ptr& voiceTemplate) const = 0;
35 
40  virtual const std::string& getInputInitDataId() const = 0;
41 
46  virtual const std::string& getOutputInitDataId() const = 0;
47 
48  virtual ~VoiceTemplateConverter() = default;
49 };
50 
51 } // namespace voicesdk
Class representing a voice template converter.
Definition: voice_template_converter.h:16
Definition: intervals.h:8
#define VOICE_SDK_API
Definition: config.h:21
std::shared_ptr< VoiceTemplateConverter > Ptr
Definition: voice_template_converter.h:18
std::shared_ptr< VoiceTemplate > Ptr
Definition: voice_template.h:27