NUGU SDK Linux  1.7.5
capability_factory.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 __CAPABILITY_FACTORY_H__
18 #define __CAPABILITY_FACTORY_H__
19 
21 
22 namespace NuguCapability {
23 
24 using namespace NuguClientKit;
25 
41 class ASRAgent;
42 
46 class TTSAgent;
47 
51 class AudioPlayerAgent;
52 
56 class SystemAgent;
57 
61 class TextAgent;
62 
66 class SpeakerAgent;
67 
71 class MicAgent;
72 
76 class SoundAgent;
77 
81 class SessionAgent;
82 
86 class DisplayAgent;
87 
91 class UtilityAgent;
92 
96 class ExtensionAgent;
97 
101 class ChipsAgent;
102 
106 class NudgeAgent;
107 
111 class RoutineAgent;
112 
116 class PhoneCallAgent;
117 
121 class MessageAgent;
122 
126 class BluetoothAgent;
127 
131 class LocationAgent;
132 
136 class BatteryAgent;
137 
142 public:
143  CapabilityFactory() = delete;
144 
151  template <typename T, typename V>
152  static V* makeCapability(ICapabilityListener* listener = nullptr);
153 };
154 
159 } // NuguCapability
160 
161 #endif /* __CAPABILITY_FACTORY_H__ */
CapabilityFactory.
Definition: capability_factory.hh:141
static V * makeCapability(ICapabilityListener *listener=nullptr)
Create capability agent instance and return related capability handler.
capability listener interface
Definition: capability_interface.hh:59