Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Observer.h File Reference

Simple, safe base classes for C++ observables and observers. More...

#include <ogdf/basic/List.h>
#include <ogdf/basic/basic.h>
#include <ogdf/basic/internal/copy_move.h>
#include <mutex>

Go to the source code of this file.

Classes

class  ogdf::Observable< TObserver, TObserved >
 Base class for an observable object that can be tracked by multiple Observer objects. More...
 
class  ogdf::Observer< TObserved, TObserver >
 Base class for an observer for a single Observable object. More...
 

Namespaces

 ogdf
 The namespace for all OGDF objects.
 

Detailed Description

Simple, safe base classes for C++ observables and observers.

Author
Simon D. Fink
License:
This file is part of the Open Graph Drawing Framework (OGDF).
Copyright (C)
See README.md in the OGDF root directory for details.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 2 or 3 as published by the Free Software Foundation; see the file LICENSE.txt included in the packaging of this file for details.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/copyleft/gpl.html

Definition in file Observer.h.