CustomSubject

CustomSubject handles a list of obsever.

Constructors

this
this()

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

acceptObserver
bool acceptObserver(Object observer)

see the Subject interface.

addObserver
void addObserver(Object observer)

see the Subject interface.

addObservers
void addObservers(Objs objs)

Calls addObserver() foreach object passed as argument.

observers
DynamicList!OT observers()

list of observers

removeObserver
void removeObserver(Object observer)

see the Subject interface.

Inherited Members

From Subject

acceptObserver
bool acceptObserver(Object observer)

Determines if observer is suitable for this subject.

addObserver
void addObserver(Object observer)

An observer can be added after acceptObserver

removeObserver
void removeObserver(Object observer)

an observer wants to be removed.

Meta