AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | Protected Attributes | List of all members
alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::test::MockBluetoothService Class Reference

#include <MockBluetoothService.h>

Inheritance diagram for alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::test::MockBluetoothService:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::test::MockBluetoothService:
Collaboration graph
[legend]

Public Member Functions

void setup () override
 Called for any necessary setup of the service. More...
 
void cleanup () override
 Called for any necessary cleanup of the service. More...
 
std::shared_ptr< SDPRecordInterfacegetRecord () override
 
 MockBluetoothService (std::shared_ptr< SDPRecordInterface > record)
 Constructor. More...
 
- Public Member Functions inherited from alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::BluetoothServiceInterface
virtual ~BluetoothServiceInterface ()=default
 Destructor. More...
 

Protected Attributes

std::shared_ptr< SDPRecordInterfacem_record
 

Detailed Description

Mock class that implements BluetoothServiceInterface

Constructor & Destructor Documentation

◆ MockBluetoothService()

alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::test::MockBluetoothService::MockBluetoothService ( std::shared_ptr< SDPRecordInterface record)

Constructor.

Member Function Documentation

◆ cleanup()

void alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::test::MockBluetoothService::cleanup ( )
overridevirtual

Called for any necessary cleanup of the service.

Implements alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::BluetoothServiceInterface.

◆ getRecord()

std::shared_ptr< SDPRecordInterface > alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::test::MockBluetoothService::getRecord ( )
inlineoverridevirtual

Returns an SDPRecord for the service.

Returns
A SDPRecordInterface for the service.

Implements alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::BluetoothServiceInterface.

◆ setup()

void alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::test::MockBluetoothService::setup ( )
overridevirtual

Called for any necessary setup of the service.

Implements alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::BluetoothServiceInterface.

Member Data Documentation

◆ m_record

std::shared_ptr<SDPRecordInterface> alexaClientSDK::avsCommon::sdkInterfaces::bluetooth::services::test::MockBluetoothService::m_record
protected

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

AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0