ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AstSharedMemoryParallelizablePrePostProcessing Class Reference

#include <AstSharedMemoryParallelSimpleProcessing.h>

Inheritance diagram for AstSharedMemoryParallelizablePrePostProcessing:
Collaboration diagram for AstSharedMemoryParallelizablePrePostProcessing:

Public Types

typedef
AstCombinedPrePostProcessing 
Superclass
 
typedef Superclass::TraversalType TraversalType
 
typedef Superclass::TraversalPtr TraversalPtr
 
typedef
Superclass::TraversalPtrList 
TraversalPtrList
 
- Public Types inherited from AstCombinedPrePostProcessing
typedef AstPrePostProcessing TraversalType
 
typedef TraversalTypeTraversalPtr
 
typedef std::vector< TraversalPtrTraversalPtrList
 

Public Member Functions

 AstSharedMemoryParallelizablePrePostProcessing (const AstSharedMemoryParallelProcessingSynchronizationInfo &, const TraversalPtrList &)
 
void set_runningParallelTraversal (bool val)
 
- Public Member Functions inherited from AstCombinedPrePostProcessing
 AstCombinedPrePostProcessing ()
 default constructor More...
 
 AstCombinedPrePostProcessing (const TraversalPtrList &)
 constructor that makes an internal copy of an existing list of traversals More...
 
void addTraversal (TraversalPtr)
 simple function for adding a traversal to the internal list More...
 
TraversalPtrListget_traversalPtrListRef ()
 function for obtaining a reference to the internal list of traversals, you can use this for any container operations you like (deleting elements etc.) More...
 
- Public Member Functions inherited from AstPrePostProcessing
void traverse (SgNode *node)
 traverse the entire AST More...
 
void traverseWithinFile (SgNode *node)
 traverse only nodes which represent the same file as where the traversal was started More...
 
void traverseInputFiles (SgProject *projectNode)
 traverse only nodes which represent files which were specified on the command line (=input files). More...
 
- Public Member Functions inherited from SgTreeTraversal< DummyAttribute, DummyAttribute >
DummyAttribute traverse (SgNode *basenode, DummyAttributeinheritedValue, t_traverseOrder travOrder=preandpostorder)
 
DummyAttribute traverseWithinFile (SgNode *basenode, DummyAttributeinheritedValue, t_traverseOrder travOrder=preandpostorder)
 
void traverseInputFiles (SgProject *projectNode, DummyAttributeinheritedValue, t_traverseOrder travOrder=preandpostorder)
 
virtual ~SgTreeTraversal ()
 
 SgTreeTraversal ()
 
 SgTreeTraversal (const SgTreeTraversal &)
 
const SgTreeTraversaloperator= (const SgTreeTraversal &)
 

Protected Member Functions

virtual void preOrderVisit (SgNode *astNode)
 these methods are called at every traversed node. More...
 
virtual void atTraversalEnd ()
 
- Protected Member Functions inherited from AstCombinedPrePostProcessing
virtual void postOrderVisit (SgNode *astNode)
 this method is called at every traversed node after its children were traversed More...
 
virtual void atTraversalStart ()
 functions called when the traversal starts and ends, respectively More...
 

Private Attributes

size_t visitedNodes
 
bool runningParallelTraversal
 
size_t synchronizationWindowSize
 

Additional Inherited Members

- Protected Types inherited from SgTreeTraversal< DummyAttribute, DummyAttribute >
typedef
AstSuccessorsSelectors::SuccessorsContainer 
SuccessorsContainer
 
typedef SuccessorsContainerSuccessorsContainerRef
 
- Protected Attributes inherited from AstCombinedPrePostProcessing
TraversalPtrList traversals
 

Detailed Description

Definition at line 75 of file AstSharedMemoryParallelSimpleProcessing.h.

Member Typedef Documentation

Constructor & Destructor Documentation

AstSharedMemoryParallelizablePrePostProcessing::AstSharedMemoryParallelizablePrePostProcessing ( const AstSharedMemoryParallelProcessingSynchronizationInfo ,
const TraversalPtrList  
)

Member Function Documentation

void AstSharedMemoryParallelizablePrePostProcessing::set_runningParallelTraversal ( bool  val)
virtual void AstSharedMemoryParallelizablePrePostProcessing::preOrderVisit ( SgNode astNode)
protectedvirtual

these methods are called at every traversed node.

Reimplemented from AstCombinedPrePostProcessing.

virtual void AstSharedMemoryParallelizablePrePostProcessing::atTraversalEnd ( )
protectedvirtual

Reimplemented from AstCombinedPrePostProcessing.

Member Data Documentation

size_t AstSharedMemoryParallelizablePrePostProcessing::visitedNodes
private

Definition at line 96 of file AstSharedMemoryParallelSimpleProcessing.h.

bool AstSharedMemoryParallelizablePrePostProcessing::runningParallelTraversal
private

Definition at line 97 of file AstSharedMemoryParallelSimpleProcessing.h.

size_t AstSharedMemoryParallelizablePrePostProcessing::synchronizationWindowSize
private

Definition at line 98 of file AstSharedMemoryParallelSimpleProcessing.h.


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