Scippy

UG

Ubiquity Generator framework

ThreadsTableElement Class Reference

Class of ThreadsTableElement. More...

#include <paraCommCPP11.h>

Public Member Functions

 ThreadsTableElement ()
 default constructor of ThreadsTableElement More...
 
 ThreadsTableElement (int inRank, ParaParamSet *paraParamSet)
 constructor of ThreadsTableElement More...
 
 ~ThreadsTableElement ()
 destructor of ThreadsTableElement More...
 
int getRank ()
 getter of this thread rank More...
 
void setRank (int r)
 setter of this thread rank More...
 
std::ostream * getOstream ()
 getter of tag trace stream of this rank More...
 
 ThreadsTableElement ()
 default constructor of ThreadsTableElement More...
 
 ThreadsTableElement (int inRank, ParaParamSet *paraParamSet)
 constructor of ThreadsTableElement More...
 
 ~ThreadsTableElement ()
 destructor of ThreadsTableElement More...
 
int getRank ()
 getter of this thread rank More...
 
void setRank (int r)
 setter of this thread rank More...
 
std::ostream * getOstream ()
 getter of tag trace stream of this rank More...
 
ThreadsTableElementgetNext ()
 get next element More...
 

Private Attributes

int rank
 rank of this thread More...
 
std::ostream * tos
 tag trace stream for this thread More...
 
ThreadsTableElementnext
 next ThradsTableElement pointer More...
 

Detailed Description

Class of ThreadsTableElement.

Definition at line 590 of file paraCommCPP11.h.

Constructor & Destructor Documentation

◆ ThreadsTableElement() [1/4]

default constructor of ThreadsTableElement

Definition at line 601 of file paraCommCPP11.h.

◆ ThreadsTableElement() [2/4]

ThreadsTableElement ( int  inRank,
ParaParamSet paraParamSet 
)

constructor of ThreadsTableElement

Parameters
inRankrank of this thread
paraParamSetUG parameter set

Definition at line 611 of file paraCommCPP11.h.

References paraParamSet, UG::TagTrace, UG::TagTraceFileName, and ThreadsTableElement::tos.

◆ ~ThreadsTableElement() [1/2]

destructor of ThreadsTableElement

Definition at line 638 of file paraCommCPP11.h.

References ThreadsTableElement::tos.

◆ ThreadsTableElement() [3/4]

default constructor of ThreadsTableElement

Definition at line 573 of file paraCommPth.h.

◆ ThreadsTableElement() [4/4]

ThreadsTableElement ( int  inRank,
ParaParamSet paraParamSet 
)

constructor of ThreadsTableElement

Parameters
inRankthread rank
paraParamSetUG parameter set

Definition at line 585 of file paraCommPth.h.

References paraParamSet, UG::TagTrace, UG::TagTraceFileName, and ThreadsTableElement::tos.

◆ ~ThreadsTableElement() [2/2]

destructor of ThreadsTableElement

Definition at line 617 of file paraCommPth.h.

References ThreadsTableElement::tos.

Member Function Documentation

◆ getNext()

◆ getOstream() [1/2]

std::ostream * getOstream ( )

getter of tag trace stream of this rank

Returns
ponter to the tag trace stream

Definition at line 676 of file paraCommCPP11.h.

References ThreadsTableElement::tos.

Referenced by ParaCommCPP11::getOstream(), and ParaCommPth::getOstream().

◆ getOstream() [2/2]

std::ostream * getOstream ( )

getter of tag trace stream of this rank

Returns
ponter to the tag trace stream

Definition at line 667 of file paraCommPth.h.

References ThreadsTableElement::tos.

◆ getRank() [1/2]

int getRank ( )

getter of this thread rank

Returns
the thread rank

Definition at line 656 of file paraCommCPP11.h.

References ThreadsTableElement::rank.

Referenced by ParaCommPth::getRank().

◆ getRank() [2/2]

int getRank ( )

getter of this thread rank

Returns
the thread rank

Definition at line 647 of file paraCommPth.h.

References ThreadsTableElement::rank.

◆ setRank() [1/2]

void setRank ( int  r)

setter of this thread rank

Parameters
rrank to be set

Definition at line 665 of file paraCommCPP11.h.

References ThreadsTableElement::rank.

Referenced by ParaCommPth::solverReInit().

◆ setRank() [2/2]

void setRank ( int  r)

setter of this thread rank

Parameters
rrank to be set

Definition at line 656 of file paraCommPth.h.

References ThreadsTableElement::rank.

Member Data Documentation

◆ next

ThreadsTableElement* next
private

next ThradsTableElement pointer

Definition at line 566 of file paraCommPth.h.

Referenced by ThreadsTableElement::getNext().

◆ rank

int rank
private

rank of this thread

Definition at line 593 of file paraCommCPP11.h.

Referenced by ThreadsTableElement::getRank(), and ThreadsTableElement::setRank().

◆ tos

std::ostream * tos
private