Scippy

UG

Ubiquity Generator framework

ParaTaskGenealogicalPtr Class Referenceabstract

class of pointer to indicate a ParaTask genealogical relation More...

#include <paraTask.h>

Inheritance diagram for ParaTaskGenealogicalPtr:
ParaTaskGenealogicalLocalPtr ParaTaskGenealogicalRemotePtr

Public Member Functions

 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

TaskId genealogicalTaskId
 descendant TaskId or ascendant TaskId More...
 

Detailed Description

class of pointer to indicate a ParaTask genealogical relation

Definition at line 369 of file paraTask.h.

Constructor & Destructor Documentation

◆ ParaTaskGenealogicalPtr()

constructor

Parameters
taskIdtask id

Definition at line 378 of file paraTask.h.

◆ ~ParaTaskGenealogicalPtr()

virtual ~ParaTaskGenealogicalPtr ( )
virtual

destructor

Definition at line 388 of file paraTask.h.

Member Function Documentation

◆ getTaskId()

TaskId getTaskId ( )

getter of genealogicaltaskId

Returns
the genealogicalTaskId

Definition at line 403 of file paraTask.h.

References ParaTaskGenealogicalPtr::genealogicalTaskId.

Referenced by ParaTask::addDescendant(), BbParaNode::addDescendant(), BbParaNode::removeDescendant(), ParaTask::removeDescendant(), and BbParaNode::~BbParaNode().

◆ getType()

virtual int getType ( )
pure virtual

getter type which indicate the pointer is local or remote

Returns
type, 0: local, 1: remote

Implemented in ParaTaskGenealogicalLocalPtr, and ParaTaskGenealogicalRemotePtr.

Referenced by BbParaNode::~BbParaNode().

Member Data Documentation

◆ genealogicalTaskId

TaskId genealogicalTaskId
private

descendant TaskId or ascendant TaskId

Definition at line 371 of file paraTask.h.

Referenced by ParaTaskGenealogicalPtr::getTaskId().