Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::EventObserverPool Class Reference

Stores references to observers. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/common/arccore/common/Event.h>

Collaboration diagram for Arcane::EventObserverPool:

Public Member Functions

void add (EventObserverBase *x)
 Adds the observer x.
void clear ()
 Clears all observers associated with this instance.

Private Attributes

UniqueArray< EventObserverBase * > m_observers

Detailed Description

Stores references to observers.

Definition at line 145 of file arccore/src/common/arccore/common/Event.h.

Constructor & Destructor Documentation

◆ ~EventObserverPool()

Arcane::EventObserverPool::~EventObserverPool ( )

Definition at line 183 of file Event.cc.

Member Function Documentation

◆ add()

void Arcane::EventObserverPool::add ( EventObserverBase * x)

Adds the observer x.

Definition at line 203 of file Event.cc.

Referenced by Arcane::EventObservable< const CollectionEventArgs & >::attach().

Here is the caller graph for this function:

◆ clear()

void Arcane::EventObserverPool::clear ( )

Clears all observers associated with this instance.

Definition at line 192 of file Event.cc.

Member Data Documentation

◆ m_observers

UniqueArray<EventObserverBase*> Arcane::EventObserverPool::m_observers
private

Definition at line 160 of file arccore/src/common/arccore/common/Event.h.


The documentation for this class was generated from the following files: