Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::sync_plan::SimplePipeQueue< PipeCmp > Class Template Reference

PipeQueue CRTP base class for ordering pipes by some simple comparator function. More...

#include <ogdf/cluster/sync_plan/PipeOrder.h>

+ Inheritance diagram for ogdf::sync_plan::SimplePipeQueue< PipeCmp >:

Public Types

using PipesHeap = PriorityQueue< Pipe *, PipeCmpPtr< PipeCmp > >
 
using PipesHeapHandle = typename PipesHeap::handle
 

Public Member Functions

 SimplePipeQueue ()=default
 
 SimplePipeQueue (const SimplePipeQueue &copy)=delete
 
 SimplePipeQueue (SimplePipeQueue &&move)=delete
 
void addPipe (Pipe *p) override
 
void clear () override
 
bool empty () override
 
PipegetTop () override
 
SimplePipeQueueoperator= (const SimplePipeQueue &copy)=delete
 
SimplePipeQueueoperator= (SimplePipeQueue &&move)=delete
 
void rebuild (List< Pipe > &pipes_list) override
 
void removePipe (Pipe *pipe) override
 
int size () override
 
- Public Member Functions inherited from ogdf::sync_plan::PipeQueue
virtual ~PipeQueue ()=default
 

Protected Attributes

std::unique_ptr< PipesHeappipes_heap
 

Detailed Description

template<typename PipeCmp>
class ogdf::sync_plan::SimplePipeQueue< PipeCmp >

PipeQueue CRTP base class for ordering pipes by some simple comparator function.

Definition at line 73 of file PipeOrder.h.

Member Typedef Documentation

◆ PipesHeap

template<typename PipeCmp >
using ogdf::sync_plan::SimplePipeQueue< PipeCmp >::PipesHeap = PriorityQueue<Pipe*, PipeCmpPtr<PipeCmp> >

Definition at line 75 of file PipeOrder.h.

◆ PipesHeapHandle

template<typename PipeCmp >
using ogdf::sync_plan::SimplePipeQueue< PipeCmp >::PipesHeapHandle = typename PipesHeap::handle

Definition at line 76 of file PipeOrder.h.

Constructor & Destructor Documentation

◆ SimplePipeQueue() [1/3]

template<typename PipeCmp >
ogdf::sync_plan::SimplePipeQueue< PipeCmp >::SimplePipeQueue ( )
default

◆ SimplePipeQueue() [2/3]

template<typename PipeCmp >
ogdf::sync_plan::SimplePipeQueue< PipeCmp >::SimplePipeQueue ( const SimplePipeQueue< PipeCmp > &  copy)
delete

◆ SimplePipeQueue() [3/3]

template<typename PipeCmp >
ogdf::sync_plan::SimplePipeQueue< PipeCmp >::SimplePipeQueue ( SimplePipeQueue< PipeCmp > &&  move)
delete

Member Function Documentation

◆ addPipe()

template<typename PipeCmp >
void ogdf::sync_plan::SimplePipeQueue< PipeCmp >::addPipe ( Pipe p)
inlineoverridevirtual

◆ clear()

template<typename PipeCmp >
void ogdf::sync_plan::SimplePipeQueue< PipeCmp >::clear ( )
inlineoverridevirtual

◆ empty()

template<typename PipeCmp >
bool ogdf::sync_plan::SimplePipeQueue< PipeCmp >::empty ( )
inlineoverridevirtual

◆ getTop()

template<typename PipeCmp >
Pipe* ogdf::sync_plan::SimplePipeQueue< PipeCmp >::getTop ( )
inlineoverridevirtual

◆ operator=() [1/2]

template<typename PipeCmp >
SimplePipeQueue& ogdf::sync_plan::SimplePipeQueue< PipeCmp >::operator= ( const SimplePipeQueue< PipeCmp > &  copy)
delete

◆ operator=() [2/2]

template<typename PipeCmp >
SimplePipeQueue& ogdf::sync_plan::SimplePipeQueue< PipeCmp >::operator= ( SimplePipeQueue< PipeCmp > &&  move)
delete

◆ rebuild()

template<typename PipeCmp >
void ogdf::sync_plan::SimplePipeQueue< PipeCmp >::rebuild ( List< Pipe > &  pipes_list)
inlineoverridevirtual

Implements ogdf::sync_plan::PipeQueue.

Definition at line 114 of file PipeOrder.h.

◆ removePipe()

template<typename PipeCmp >
void ogdf::sync_plan::SimplePipeQueue< PipeCmp >::removePipe ( Pipe pipe)
inlineoverridevirtual

◆ size()

template<typename PipeCmp >
int ogdf::sync_plan::SimplePipeQueue< PipeCmp >::size ( )
inlineoverridevirtual

Member Data Documentation

◆ pipes_heap

template<typename PipeCmp >
std::unique_ptr<PipesHeap> ogdf::sync_plan::SimplePipeQueue< PipeCmp >::pipes_heap
protected

Definition at line 79 of file PipeOrder.h.


The documentation for this class was generated from the following file: