Public Member Functions | Private Member Functions | Private Attributes

OA::DataFlow::Worklist_Queue Class Reference

#include <WorkListQueue.hpp>

Inheritance diagram for OA::DataFlow::Worklist_Queue:
Inheritance graph
[legend]
Collaboration diagram for OA::DataFlow::Worklist_Queue:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Worklist_Queue (OA_ptr< DGraph::DGraphInterface > dg, DGraph::DGraphEdgeDirection alongFlow)
virtual ~Worklist_Queue ()
OA_ptr< DGraph::NodeInterfacegetNext ()
void add (OA_ptr< DGraph::NodeInterface > node)
bool isEmpty ()

Private Member Functions

bool atDGraphNode (OA_ptr< DGraph::NodeInterface >, DGraph::DGraphEdgeDirection)
bool atDGraphEdge (OA_ptr< DGraph::EdgeInterface >, DGraph::DGraphEdgeDirection)
void finalizeNode (OA_ptr< DGraph::NodeInterface > node)
void finalizeEdge (OA_ptr< DGraph::EdgeInterface > edge)

Private Attributes

std::queue< OA_ptr
< DGraph::NodeInterface > > 
worklist
std::set< OA_ptr
< DGraph::NodeInterface > > 
worklistSet

Detailed Description

Definition at line 50 of file WorkListQueue.hpp.


Constructor & Destructor Documentation

OA::DataFlow::Worklist_Queue::Worklist_Queue ( OA_ptr< DGraph::DGraphInterface dg,
DGraph::DGraphEdgeDirection  alongFlow 
) [inline]

Definition at line 54 of file WorkListQueue.hpp.

References worklist, and worklistSet.

virtual OA::DataFlow::Worklist_Queue::~Worklist_Queue (  )  [inline, virtual]

Definition at line 68 of file WorkListQueue.hpp.


Member Function Documentation

void OA::DataFlow::Worklist_Queue::add ( OA_ptr< DGraph::NodeInterface node  )  [inline, virtual]

Implements OA::DataFlow::WorkList.

Definition at line 79 of file WorkListQueue.hpp.

References worklist, and worklistSet.

bool OA::DataFlow::Worklist_Queue::atDGraphEdge ( OA_ptr< DGraph::EdgeInterface ,
DGraph::DGraphEdgeDirection   
) [inline, private]

Definition at line 109 of file WorkListQueue.hpp.

bool OA::DataFlow::Worklist_Queue::atDGraphNode ( OA_ptr< DGraph::NodeInterface ,
DGraph::DGraphEdgeDirection   
) [inline, private]

Definition at line 103 of file WorkListQueue.hpp.

void OA::DataFlow::Worklist_Queue::finalizeEdge ( OA_ptr< DGraph::EdgeInterface edge  )  [inline, private]

Definition at line 119 of file WorkListQueue.hpp.

void OA::DataFlow::Worklist_Queue::finalizeNode ( OA_ptr< DGraph::NodeInterface node  )  [inline, private]

Definition at line 115 of file WorkListQueue.hpp.

OA_ptr<DGraph::NodeInterface> OA::DataFlow::Worklist_Queue::getNext (  )  [inline, virtual]

Implements OA::DataFlow::WorkList.

Definition at line 70 of file WorkListQueue.hpp.

References worklist, and worklistSet.

bool OA::DataFlow::Worklist_Queue::isEmpty (  )  [inline, virtual]

Implements OA::DataFlow::WorkList.

Definition at line 87 of file WorkListQueue.hpp.

References worklist.


Member Data Documentation

Definition at line 125 of file WorkListQueue.hpp.

Referenced by add(), getNext(), isEmpty(), and Worklist_Queue().

Definition at line 127 of file WorkListQueue.hpp.

Referenced by add(), getNext(), and Worklist_Queue().


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