NUGU SDK Linux  1.7.6
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 #include <nugu.h>
27 
28 namespace NuguClientKit {
29 
44 class NUGU_API INuguCoreContainer {
45 public:
46  virtual ~INuguCoreContainer() = default;
47 
52  virtual IWakeupHandler* createWakeupHandler(const WakeupModelFile& model_file) = 0;
53 
59  virtual ISpeechRecognizer* createSpeechRecognizer(const std::string& model_path = "", const EpdAttribute& epd_attr = {}) = 0;
60 
65 
69  virtual ITTSPlayer* createTTSPlayer() = 0;
70 
77  virtual INuguTimer* createNuguTimer(bool singleshot = false) = 0;
78 
83 };
84 
89 } // NuguClientKit
90 
91 #endif /* __NUGU_CORE_CONTAINER_INTERFACE_H__ */
CapabilityHelper interface.
Definition: capability_helper_interface.hh:47
mediaplayer interface
Definition: media_player_interface.hh:116
NuguCoreContainer interface.
Definition: nugu_core_container_interface.hh:44
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:44
SpeechRecognizer interface.
Definition: speech_recognizer_interface.hh:87
ttsplayer interface
Definition: media_player_interface.hh:266
Wakeup handler interface.
Definition: wakeup_interface.hh:78
Attributes about epd.
Definition: speech_recognizer_interface.hh:53
Model for holding Wakeup model file info.
Definition: wakeup_interface.hh:51