[#BloombergLP-ball-BroadcastObserver-visitObservers-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/BroadcastObserver.adoc[BroadcastObserver]::visitObservers
:relfileprefix: ../../../
:mrdocs:

Invoke the specified `visitor` functor of (template parameter) `t&lowbar;VISITOR` type on each element in the registry of this broadcast observer, supplying that functor modifiable access to each observer&period; `visitor` must be a functor that can be called as if it had the following signature&colon; &grave; void operator()(const bsl&colon;&colon;shared&lowbar;ptr&lt;Observer&gt;&amp; observer, const bsl&colon;&colon;string&lowbar;view&amp; observerName)&semi; &grave;

== Synopses

Declared in `&lt;ball&lowbar;broadcastobserver&period;h&gt;`

Invoke the specified `visitor` functor of (template parameter) `t&lowbar;VISITOR` type on each element in the registry of this broadcast observer, supplying that functor modifiable access to each observer&period; `visitor` must be a functor that can be called as if it had the following signature&colon; &grave; void operator()(const bsl&colon;&colon;shared&lowbar;ptr&lt;Observer&gt;&amp; observer, const bsl&colon;&colon;string&lowbar;view&amp; observerName)&semi; &grave;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;VISITOR&gt;
void
xref:BloombergLP/ball/BroadcastObserver/visitObservers-07.adoc[visitObservers](t&lowbar;VISITOR& visitor);
----

[.small]#xref:BloombergLP/ball/BroadcastObserver/visitObservers-07.adoc[_» more&period;&period;&period;_]#

Invoke the specified `visitor` functor of (template parameter) `t&lowbar;VISITOR` type on each element in the registry of this broadcast observer, supplying that functor modifiable access to each observer&period; `visitor` must be a functor that can be called as if it had the following signature&colon; &grave; void operator()(const bsl&colon;&colon;shared&lowbar;ptr&lt;Observer&gt;&amp; observer, const bsl&colon;&colon;string&lowbar;view&amp; observerName)&semi; &grave;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;VISITOR&gt;
void
xref:BloombergLP/ball/BroadcastObserver/visitObservers-09.adoc[visitObservers](t&lowbar;VISITOR const& visitor) const;
----

[.small]#xref:BloombergLP/ball/BroadcastObserver/visitObservers-09.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
