Open
Graph Drawing
Framework

 v.2010.10
 

Classes | Namespaces

GraphObserver.h File Reference

Abstract base class for structures on graphs, that need to be informed about graph changes (e.g. cluster graphs). More...

#include <ogdf/basic/List.h>
#include <ogdf/basic/Graph.h>

Go to the source code of this file.

Classes

class  ogdf::GraphObserver
 Abstract Base class for classes that need to keep track of changes in the graph like addition/deletion of nodes or edges. derived classes have to overload nodeDeleted, nodeAdded edgeDeleted, edgeAdded these functions should be called by Graph before (delete). More...

Namespaces

namespace  ogdf
 

The namespace for all OGDF objects.



Detailed Description

Abstract base class for structures on graphs, that need to be informed about graph changes (e.g. cluster graphs).

Follows the observer pattern: graphs are observable objects that can inform observers on changes made to their structure.

Author:
Karsten Klein
License:
This file is part of the Open Graph Drawing Framework (OGDF).

Copyright (C). All rights reserved. See README.txt in the root directory of the OGDF installation 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 and appearing in the files LICENSE_GPL_v2.txt and LICENSE_GPL_v3.txt included in the packaging of this file.
In addition, as a special exception, you have permission to link this software with the libraries of the COIN-OR Osi project (http://www.coin-or.org/projects/Osi.xml), all libraries required by Osi, and all LP-solver libraries directly supported by the COIN-OR Osi project, and distribute executables, as long as you follow the requirements of the GNU General Public License in regard to all of the software in the executable aside from these third-party libraries.
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, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
See also:
http://www.gnu.org/copyleft/gpl.html

Definition in file GraphObserver.h.