Scippy

UG

Ubiquity Generator framework

ParaTaskGenealogicalLocalPtr Class Reference

class ParaTaskGenealogicalLocalPtr More...

#include <paraTask.h>

Inheritance diagram for ParaTaskGenealogicalLocalPtr:
ParaTaskGenealogicalPtr

Public Member Functions

 ParaTaskGenealogicalLocalPtr ()
 default constructor More...
 
 ParaTaskGenealogicalLocalPtr (TaskId taskId, ParaTask *ptr)
 constructor More...
 
 ~ParaTaskGenealogicalLocalPtr ()
 destructor More...
 
int getType ()
 getter of pointer type More...
 
ParaTaskgetPointerValue ()
 getter for ParaTask pointer More...
 
- Public Member Functions inherited from ParaTaskGenealogicalPtr
 ParaTaskGenealogicalPtr (TaskId taskId)
 constructor More...
 
virtual ~ParaTaskGenealogicalPtr ()
 destructor More...
 
virtual int getType ()=0
 getter type which indicate the pointer is local or remote More...
 
TaskId getTaskId ()
 getter of genealogicaltaskId More...
 

Private Attributes

ParaTaskparaTaskPtr
 pointer to ParaTask More...
 

Detailed Description

class ParaTaskGenealogicalLocalPtr

Definition at line 414 of file paraTask.h.

Constructor & Destructor Documentation

◆ ParaTaskGenealogicalLocalPtr() [1/2]

default constructor

Definition at line 424 of file paraTask.h.

◆ ParaTaskGenealogicalLocalPtr() [2/2]

ParaTaskGenealogicalLocalPtr ( TaskId  taskId,
ParaTask ptr 
)

constructor

Parameters
taskIdtask id
ptrpointer to ParaTask

Definition at line 434 of file paraTask.h.

◆ ~ParaTaskGenealogicalLocalPtr()

destructor

Definition at line 446 of file paraTask.h.

Member Function Documentation

◆ getPointerValue()

ParaTask * getPointerValue ( )

getter for ParaTask pointer

Returns
the task pointer

Definition at line 465 of file paraTask.h.

References ParaTaskGenealogicalLocalPtr::paraTaskPtr.

Referenced by BbParaNode::getMinimumDualBoundInDesendants(), and BbParaNode::~BbParaNode().

◆ getType()

int getType ( )
virtual

getter of pointer type

Returns
0: local task pointer

Implements ParaTaskGenealogicalPtr.

Definition at line 455 of file paraTask.h.

References UG::ParaTaskLocalPtr.

Member Data Documentation

◆ paraTaskPtr

ParaTask* paraTaskPtr
private

pointer to ParaTask

Definition at line 417 of file paraTask.h.

Referenced by ParaTaskGenealogicalLocalPtr::getPointerValue().