Out-of-line definitions of UTILSLIB::Subject — attach/detach observer bookkeeping and the notify() fan-out.
More...
#include "observerpattern.h"
Go to the source code of this file.
Out-of-line definitions of UTILSLIB::Subject — attach/detach observer bookkeeping and the notify() fan-out.
SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2017-2026 MNE-CPP Authors
Owns the storage for the static notifyEnabled flag and the non-inline notify() loop. Observer destruction is the caller's responsibility — Subject only holds raw pointers because many concrete observers live on the stack or are owned by Qt parent chains that do not fit a smart-pointer lifetime model.
Definition in file observerpattern.cpp.