You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

40 lines
932 B

// Copyright 2018 Mobvoi Inc. All Rights Reserved.
// Author: gfbai@mobvoi.com (Gaofeng Bai)
#ifndef SDS_INTERFACE_SPEECH_SDS_H_
#define SDS_INTERFACE_SPEECH_SDS_H_
#define SDK_DLL_API __declspec(dllimport)
#include <string>
#include "parameter.h"
#include "param_decl.h"
#include "service.h"
namespace mobvoi {
namespace sds {
class SDK_DLL_API SpeechSDS {
public:
static SpeechSDS* MakeInstance();
static void DestroyInstance(SpeechSDS* sds);
virtual bool Init(const Parameter& params) = 0;
virtual bool SetParam(const Parameter& params) = 0;
virtual Service* GetService(const std::string& service_type) = 0;
virtual bool ReleaseService(Service* service) = 0;
virtual bool CleanUp() = 0;
protected:
SpeechSDS() {}
virtual ~SpeechSDS() {}
SpeechSDS(const SpeechSDS&);
SpeechSDS& operator=(const SpeechSDS&);
};
} // namespace sds
} // namespace mobvoi
#endif // SDS_INTERFACE_SPEECH_SDS_H_