#include <paraTask.h>
Public Member Functions | |
TaskId () | |
default constructor More... | |
TaskId (const TaskId &taskId) | |
copy constructor More... | |
TaskId (SubtaskId inSubtreeId, int inSeqNum) | |
constructor More... | |
~TaskId () | |
destructor More... | |
TaskId & | operator= (const UG::TaskId &taskId) |
= operator definition More... | |
bool | operator== (const TaskId &inNid) const |
== operator definition More... | |
bool | operator!= (const TaskId &inNid) const |
!= operator definition More... | |
bool | operator< (const TaskId &inNid) const |
< operator definition More... | |
SubtaskId | getSubtaskId () const |
getter of subtask id More... | |
long long | getSeqNum () const |
getter of sequence number More... | |
std::string | toString () |
stringfy task id More... | |
Public Attributes | |
SubtaskId | subtaskId |
subtree id More... | |
long long | seqNum |
sequential number in the subtree More... | |
TaskId class.
Definition at line 222 of file paraTask.h.
TaskId | ( | ) |
default constructor
Definition at line 233 of file paraTask.h.
copy constructor
Definition at line 243 of file paraTask.h.
References TaskId::seqNum, and TaskId::subtaskId.
constructor
inSubtreeId | subtree id |
inSeqNum | sequential number in the subtree |
Definition at line 254 of file paraTask.h.
~TaskId | ( | ) |
destructor
Definition at line 266 of file paraTask.h.
long long getSeqNum | ( | ) | const |
getter of sequence number
Definition at line 343 of file paraTask.h.
References TaskId::seqNum.
SubtaskId getSubtaskId | ( | ) | const |
getter of subtask id
Definition at line 333 of file paraTask.h.
References TaskId::subtaskId.
bool operator!= | ( | const TaskId & | inNid | ) | const |
!= operator definition
Definition at line 303 of file paraTask.h.
References TaskId::seqNum, and TaskId::subtaskId.
bool operator< | ( | const TaskId & | inNid | ) | const |
< operator definition
Definition at line 318 of file paraTask.h.
References TaskId::seqNum, and TaskId::subtaskId.
TaskId & operator= | ( | const UG::TaskId & | taskId | ) |
= operator definition
Definition at line 275 of file paraTask.h.
References TaskId::seqNum, and TaskId::subtaskId.
bool operator== | ( | const TaskId & | inNid | ) | const |
== operator definition
inNid | task id |
Definition at line 288 of file paraTask.h.
References TaskId::seqNum, and TaskId::subtaskId.
std::string toString | ( | ) |
stringfy task id
Definition at line 353 of file paraTask.h.
References TaskId::seqNum, TaskId::subtaskId, and SubtaskId::toString().
Referenced by BbParaNode::removeDescendant(), ParaTask::removeDescendant(), ParaTask::toSimpleString(), BbParaNode::toSimpleString(), ParaTask::toString(), and BbParaNode::toString().
long long seqNum |
sequential number in the subtree
Definition at line 228 of file paraTask.h.
Referenced by BbParaNodeMpi::createDatatype(), BbParaNodeMpi::createDatatypeForNodeId(), TaskId::getSeqNum(), ParaTask::isRootTask(), TaskId::operator!=(), TaskId::operator<(), TaskId::operator=(), TaskId::operator==(), BbParaNode::read(), TaskId::TaskId(), TaskId::toString(), and BbParaNode::write().
SubtaskId subtaskId |
subtree id
Definition at line 227 of file paraTask.h.
Referenced by BbParaNodeMpi::bcast(), BbParaNodeMpi::createDatatype(), BbParaNodeMpi::createDatatypeForNodeId(), ParaTask::getGlobalSubtaskIdInLc(), ParaTask::getLcId(), ParaTask::getSolverId(), TaskId::getSubtaskId(), ParaTask::isRootTask(), ParaTask::isSameGlobalSubtaskIdInLcAs(), ParaTask::isSameLcIdAs(), BbParaNode::isSameNodeIdAs(), ParaTask::isSameParetntTaskSubtaskIdAs(), ParaTask::isSameSubtaskIdAs(), BbParaSolver::keepParaNode(), TaskId::operator!=(), TaskId::operator<(), TaskId::operator=(), TaskId::operator==(), BbParaNode::read(), BbParaNodeMpi::receive(), BbParaNodeMpi::receiveNewSubtreeRoot(), BbParaNodeMpi::receiveSubtreeRootNodeId(), BbParaNodeMpi::send(), BbParaNodeMpi::sendNewSubtreeRoot(), BbParaSolver::sendParaNode(), BbParaNodeMpi::sendSubtreeRootNodeId(), ParaTask::setGlobalSubtaskId(), ParaTask::setSolverId(), TaskId::TaskId(), TaskId::toString(), and BbParaNode::write().