IoT::BtLE

class PeripheralManagerImpl

File Information

Library: IoT/BtLE
Package: BtLE
Header: IoT/BtLE/PeripheralManagerImpl.h

Description

The default implementation of PeripheralManager.

Inheritance

Direct Base Classes: PeripheralManager

All Base Classes: PeripheralManager

Member Summary

Member Functions: findPeripheral, registerPeripheral, removePeripheral

Inherited Functions: findPeripheral, removePeripheral

Types Aliases

Ptr

using Ptr = Poco::SharedPtr < PeripheralManagerImpl >;

Constructors

PeripheralManagerImpl

explicit PeripheralManagerImpl(
    Poco::OSP::ServiceRegistry & serviceRegistry
);

Creates the PeripheralManagerImpl, using the given ServiceRegistry.

Destructor

~PeripheralManagerImpl virtual

~PeripheralManagerImpl();

Destroys the PeripheralManagerImpl.

Member Functions

findPeripheral virtual

ServiceID findPeripheral(
    const std::string & address,
    const std::string & controller
);

removePeripheral virtual

void removePeripheral(
    const ServiceID & serviceID
);

registerPeripheral protected

Poco::OSP::ServiceRef::Ptr registerPeripheral(
    IoT::BtLE::Peripheral::Ptr pPeripheral
);

Securely control IoT edge devices from anywhere   Connect a Device