template <class ObserverType>

class ObserverListBase

Defined at line 77 of file ../../src/lib/fxl/observer_list.h

Public Methods

iterator begin ()

Defined at line 128 of file ../../src/lib/fxl/observer_list.h

iterator end ()

Defined at line 129 of file ../../src/lib/fxl/observer_list.h

const_iterator begin ()

Defined at line 132 of file ../../src/lib/fxl/observer_list.h

const_iterator end ()

Defined at line 135 of file ../../src/lib/fxl/observer_list.h

void ObserverListBase<ObserverType> ()

Defined at line 137 of file ../../src/lib/fxl/observer_list.h

void ObserverListBase<ObserverType> (NotifyWhat what)

Defined at line 138 of file ../../src/lib/fxl/observer_list.h

void AddObserver (ObserverType * obs)

Add an observer to the list. An observer should not be added to

the same list more than once.

Defined at line 258 of file ../../src/lib/fxl/observer_list.h

void RemoveObserver (ObserverType * obs)

Remove an observer from the list if it is in the list.

Defined at line 268 of file ../../src/lib/fxl/observer_list.h

bool HasObserver (const ObserverType * observer)

Determine whether a particular observer is in the list.

Defined at line 281 of file ../../src/lib/fxl/observer_list.h

void Clear ()

Defined at line 290 of file ../../src/lib/fxl/observer_list.h

Protected Methods

size_t size ()

Defined at line 154 of file ../../src/lib/fxl/observer_list.h

void Compact ()

Defined at line 301 of file ../../src/lib/fxl/observer_list.h

Enumerations

enum NotifyWhat
Name Value
kAll 0
kExistingOnly 0

Enumeration of which observers are notified.

Defined at line 80 of file ../../src/lib/fxl/observer_list.h

Records

Friends

template <class ContainerType>
class Iter