NUGU SDK Linux  1.7.5
nugu_core_container_interface.hh
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019 SK Telecom Co., Ltd. All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef __NUGU_CORE_CONTAINER_INTERFACE_H__
18 #define __NUGU_CORE_CONTAINER_INTERFACE_H__
19 
26 
27 namespace NuguClientKit {
28 
44 public:
45  virtual ~INuguCoreContainer() = default;
46 
51  virtual IWakeupHandler* createWakeupHandler(const WakeupModelFile& model_file) = 0;
52 
58  virtual ISpeechRecognizer* createSpeechRecognizer(const std::string& model_path = "", const EpdAttribute& epd_attr = {}) = 0;
59 
64 
68  virtual ITTSPlayer* createTTSPlayer() = 0;
69 
76  virtual INuguTimer* createNuguTimer(bool singleShot = false) = 0;
77 
82 };
83 
88 } // NuguClientKit
89 
90 #endif /* __NUGU_CORE_CONTAINER_INTERFACE_H__ */
CapabilityHelper interface.
Definition: capability_helper_interface.hh:46
mediaplayer interface
Definition: media_player_interface.hh:114
NuguCoreContainer interface.
Definition: nugu_core_container_interface.hh:43
virtual ICapabilityHelper * getCapabilityHelper()=0
Get CapabilityHelper instance.
virtual IMediaPlayer * createMediaPlayer()=0
Create MediaPlayer instance.
virtual ITTSPlayer * createTTSPlayer()=0
Create TTSPlayer instance.
virtual INuguTimer * createNuguTimer(bool singleShot=false)=0
Create NuguTimer instance.
virtual ISpeechRecognizer * createSpeechRecognizer(const std::string &model_path="", const EpdAttribute &epd_attr={})=0
Create SpeechRecognizer instance.
virtual IWakeupHandler * createWakeupHandler(const WakeupModelFile &model_file)=0
Create WakeupHandler instance.
nugu timer interface
Definition: nugu_timer_interface.hh:42
SpeechRecognizer interface.
Definition: speech_recognizer_interface.hh:85
ttsplayer interface
Definition: media_player_interface.hh:264
Wakeup handler interface.
Definition: wakeup_interface.hh:76
Attributes about epd.
Definition: speech_recognizer_interface.hh:51
Model for holding Wakeup model file info.
Definition: wakeup_interface.hh:49