simplersble 0.10.1-dev101

The all-in-one Bluetooth library that makes it easy to add wireless connectivity to your projects.
Documentation
#pragma once

#include <memory>

#include <simpleble/export.h>

#include <simpleble/Exceptions.h>
#include <simpleble/Types.h>

namespace SimpleBLE {

class DescriptorBase;

class SIMPLEBLE_EXPORT Descriptor {
  public:
    Descriptor() = default;
    virtual ~Descriptor() = default;

    bool initialized() const;

    BluetoothUUID uuid();

  protected:
    DescriptorBase* operator->();
    const DescriptorBase* operator->() const;

    std::shared_ptr<DescriptorBase> internal_;
};

}  // namespace SimpleBLE