addSpecificPublisher overloads

Synopses

Declared in <balm_metricsmanager.h>

Add a publisher used only for the specified category.

int
addSpecificPublisher(
    Category const* category,
    bsl::shared_ptr<Publisher> const& publisher);

Add the specified publisher for the named category.

int
addSpecificPublisher(
    char const* categoryName,
    bsl::shared_ptr<Publisher> const& publisher);

Return Value

  • 0 on success, and a non‐zero value with no effect if publisher has already been registered for category

  • 0 on success, and a non‐zero value with no effect if publisher has already been registered for the named category

Parameters

Name

Description

category

category for which to register the publisher

publisher

publisher to register for category

categoryName

null‐terminated category name

Created with MrDocs