![]() |
fpmas 1.6
|
#include <distributed_edge.h>
Public Member Functions | |
template<typename _PackType > | |
TemporaryNode (DistributedId id, int location, _PackType &&p) | |
DistributedId | getId () const override |
int | getLocation () const override |
api::graph::DistributedNode< T > * | build () override |
virtual DistributedId | getId () const =0 |
virtual int | getLocation () const =0 |
virtual DistributedNode< T > * | build ()=0 |
ObjectPack based api::graph::TemporaryNode implementation.
T | node data type |
PackType | ObjectPack specialization |
|
inline |
TemporaryNode constructor.
The specified PackType is forwarded to the internal PackType to prevent useless copies.
id | node id |
location | node location rank |
p | PackType representing the node |
|
inlineoverridevirtual |
Gets the id of the node represented by the TemporaryNode.
This should not require the complete node deserialization and allocation.
Implements fpmas::api::graph::TemporaryNode< T >.
|
inlineoverridevirtual |
Gets the processor rank where the node represented by the TemporaryNode is located.
Implements fpmas::api::graph::TemporaryNode< T >.
|
inlineoverridevirtual |
Desesializes (if required) and allocates the DistributedNode represented by this temporary node and returns it.
The node ID must be the value of getId(), and its location must be initialized to getLocation().
Implements fpmas::api::graph::TemporaryNode< T >.