60 m_itCGList =
CG->registerObserver(
this);
64 if (m_pClusterGraph) {
65 m_pClusterGraph->unregisterObserver(m_itCGList);
72 if (m_pClusterGraph) {
73 m_pClusterGraph->unregisterObserver(m_itCGList);
75 if ((m_pClusterGraph =
pCG) !=
nullptr) {
76 m_itCGList =
pCG->registerObserver(
this);
83 virtual void cleared() = 0;
Derived class of GraphObserver providing additional functionality to handle clustered graphs.
Declaration of doubly linked lists and iterators.
Representation of clusters in a clustered graph.
Representation of clustered graphs.
Abstract base class for cluster graph observers.
virtual void clusterAdded(cluster v)=0
virtual ~ClusterGraphObserver()
const ClusterGraph * m_pClusterGraph
const ClusterGraph * getGraph() const
virtual void clusterDeleted(cluster v)=0
ClusterGraphObserver(const ClusterGraph *CG)
void reregister(const ClusterGraph *pCG)
ListIterator< ClusterGraphObserver * > m_itCGList
Encapsulates a pointer to a list element.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.