NUGU SDK Linux  1.7.6
NuguClientKit::NuguClient::CapabilityBuilder Class Reference

CapabilityBuilder. More...

#include <nugu_client.hh>

Public Member Functions

CapabilityBuilderadd (ICapabilityInterface *cap_instance)
 Add capability instance. It could create from CapabilityFactory or by self as inhering ICapabilityInterface. More...
 
bool construct ()
 Construct with capabilities added to CapabilityBuilder. More...
 
CapabilityBuildersetWakeupModel (const WakeupModelFile &model_file)
 Set wakeup model file for composing SpeechRecognizerAggregator. More...
 

Friends

class NuguClient
 

Detailed Description

Member Function Documentation

◆ add()

CapabilityBuilder* NuguClientKit::NuguClient::CapabilityBuilder::add ( ICapabilityInterface cap_instance)

Add capability instance. It could create from CapabilityFactory or by self as inhering ICapabilityInterface.

Parameters
[in]cap_instancecapability interface
Returns
CapabilityBuilder object

◆ setWakeupModel()

CapabilityBuilder* NuguClientKit::NuguClient::CapabilityBuilder::setWakeupModel ( const WakeupModelFile model_file)

Set wakeup model file for composing SpeechRecognizerAggregator.

Parameters
[in]model_filewakeup model file
Returns
CapabilityBuilder object

◆ construct()

bool NuguClientKit::NuguClient::CapabilityBuilder::construct ( )

Construct with capabilities added to CapabilityBuilder.

Returns
true if construct success, otherwise false

The documentation for this class was generated from the following file: