Add the specified collector with the specified name to this registry.
Declared in <ball_attributecollectorregistry.h>
int
addCollector(
Collector const& collector,
std::string_view const& name);
Return 0 if collector was successfully registered, and a non-zero value (with no effect) otherwise. Note that this method will fail if a collector having name is already registered.
0 on success, or a non-zero value otherwise
| Name | Description |
|---|---|
| collector | attribute collector functor to register |
| name | name under which to register collector |