Abstract base class for cluster graph observers. More...
#include <ogdf/cluster/ClusterGraphObserver.h>
Public Member Functions | |
ClusterGraphObserver () | |
ClusterGraphObserver (const ClusterGraph *CG) | |
virtual | ~ClusterGraphObserver () |
virtual void | clusterAdded (cluster v)=0 |
virtual void | clusterDeleted (cluster v)=0 |
const ClusterGraph * | getGraph () const |
void | reregister (const ClusterGraph *pCG) |
Protected Attributes | |
ListIterator< ClusterGraphObserver * > | m_itCGList |
const ClusterGraph * | m_pClusterGraph |
Friends | |
class | ClusterGraph |
Abstract base class for cluster graph observers.
If a class needs to keep track of changes in a clustered graph like addition or deletion of clusters, you can derive it from ClusterGraphObserver and override the notification methods clusterDeleted, clusterAdded.
Definition at line 53 of file ClusterGraphObserver.h.
|
inline |
Definition at line 57 of file ClusterGraphObserver.h.
|
inlineexplicit |
Definition at line 59 of file ClusterGraphObserver.h.
|
inlinevirtual |
Definition at line 63 of file ClusterGraphObserver.h.
|
inline |
Definition at line 86 of file ClusterGraphObserver.h.
|
inline |
Definition at line 70 of file ClusterGraphObserver.h.
|
friend |
Definition at line 54 of file ClusterGraphObserver.h.
|
protected |
Definition at line 92 of file ClusterGraphObserver.h.
|
protected |
Definition at line 89 of file ClusterGraphObserver.h.