mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-09-08 15:52:53 +02:00
27 lines
472 B
C++
27 lines
472 B
C++
// Copyright The OpenTelemetry Authors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
#pragma once
|
|
|
|
#include "opentelemetry/version.h"
|
|
|
|
OPENTELEMETRY_BEGIN_NAMESPACE
|
|
namespace trace
|
|
{
|
|
class Tracer;
|
|
} // namespace trace
|
|
|
|
namespace plugin
|
|
{
|
|
/**
|
|
* Manage the ownership of a dynamically loaded tracer.
|
|
*/
|
|
class TracerHandle
|
|
{
|
|
public:
|
|
virtual ~TracerHandle() = default;
|
|
|
|
virtual trace::Tracer &tracer() const noexcept = 0;
|
|
};
|
|
} // namespace plugin
|
|
OPENTELEMETRY_END_NAMESPACE
|