Couchbase C++ SDK 1.0.4 (rev. 5355b0f)
Loading...
Searching...
No Matches
request_span Class Referenceabstract

#include <couchbase/tracing/request_span.hxx>

Inheritance diagram for request_span:
Inheritance graph

Public Member Functions

 request_span ()=default
 
 request_span (const request_span &other)=default
 
 request_span (request_span &&other)=default
 
auto operator= (const request_span &other) -> request_span &=default
 
auto operator= (request_span &&other) -> request_span &=default
 
virtual ~request_span ()=default
 
 request_span (std::string name)
 
 request_span (std::string name, std::shared_ptr< request_span > parent)
 
virtual void add_tag (const std::string &name, std::uint64_t value)=0
 
virtual void add_tag (const std::string &name, const std::string &value)=0
 
virtual void end ()=0
 
auto name () const -> const std::string &
 
auto parent () const -> std::shared_ptr< request_span >
 
virtual auto uses_tags () const -> bool
 

Constructor & Destructor Documentation

◆ request_span() [1/5]

request_span ( )
default

◆ request_span() [2/5]

request_span ( const request_span & other)
default

◆ request_span() [3/5]

request_span ( request_span && other)
default

◆ ~request_span()

virtual ~request_span ( )
virtualdefault

◆ request_span() [4/5]

request_span ( std::string name)
inlineexplicit

◆ request_span() [5/5]

request_span ( std::string name,
std::shared_ptr< request_span > parent )
inline

Member Function Documentation

◆ add_tag() [1/2]

virtual void add_tag ( const std::string & name,
const std::string & value )
pure virtual

Implemented in otel_request_span.

◆ add_tag() [2/2]

virtual void add_tag ( const std::string & name,
std::uint64_t value )
pure virtual

◆ end()

virtual void end ( )
pure virtual

Implemented in otel_request_span.

◆ name()

auto name ( ) const -> const std::string&
inlinenodiscard

◆ operator=() [1/2]

auto operator= ( const request_span & other) -> request_span &=default
default

◆ operator=() [2/2]

auto operator= ( request_span && other) -> request_span &=default
default

◆ parent()

auto parent ( ) const -> std::shared_ptr<request_span>
inlinenodiscard

◆ uses_tags()

virtual auto uses_tags ( ) const -> bool
inlinevirtual

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