getAddedCollectors overloads

Synopses

Declared in <balm_collectorrepository.h>

Append shared pointers to any added collectors for the specified metricId and return the count found.

Same as the preceding overload, using std::pmr::vector result containers.

int
getAddedCollectors(
    std::pmr::vector<bsl::shared_ptr<Collector>>* collectors,
    std::pmr::vector<bsl::shared_ptr<IntegerCollector>>* intCollectors,
    MetricId const& metricId);

Same as the preceding overload, using std::vector result containers.

int
getAddedCollectors(
    std::vector<bsl::shared_ptr<Collector>>* collectors,
    std::vector<bsl::shared_ptr<IntegerCollector>>* intCollectors,
    MetricId const& metricId);

Return Value

combined total number of added collectors found

Parameters

Name

Description

collectors

receives shared pointers to added collectors

intCollectors

receives shared pointers to added integer collectors

metricId

identity of the metric whose added collectors are retrieved

Created with MrDocs