Invoke visitor on each observer in this broadcast observer's registry.
Declared in <ball_broadcastobserver.h>
template<class t_VISITOR>
void
visitObservers(t_VISITOR const& visitor) const;
Invoke the specified visitor functor of (template parameter) t_VISITOR type on each element in the registry of this broadcast observer, supplying that functor modifiable access to each observer. visitor must be a functor that can be called as if it had the following signature: ` void operator()(const bsl::shared_ptr<Observer>& observer, const bsl::string_view& observerName); `
| Name | Description |
|---|---|
| visitor | functor invoked for each registered observer |