Struct Builder::Condition

Nested Relationships

This struct is a nested type of Class ScopeConfigurator::Builder.

Struct Documentation

struct Condition

An internal struct to encapsulate ‘conditions’ that can be applied to a ScopeConfiguratorBuilder. The applied conditions influence the behavior of the generated ScopeConfigurator.

Public Functions

inline Condition(const std::function<bool(const InstrumentationScope&)> &matcher, const T &config)

Public Members

std::function<bool(const InstrumentationScope&)> scope_matcher
T scope_config