![]() |
fpmas 1.6
|
#include <sync_mode.h>
Public Member Functions | |
virtual void | synchronize ()=0 |
virtual void | synchronize (std::unordered_set< api::graph::DistributedNode< T > * > nodes)=0 |
Data synchronization API.
The behavior of this component can be very different depending on the implemented synchronization mode. See the corresponding implementations for more details.
|
pure virtual |
Synchronizes api::graph::DistributedGraph data across the processes, i.e. the internal data of each api::graph::DistributedNode, or the managed data of each Mutex.
Implemented in fpmas::synchro::ghost::GhostDataSync< T >, and fpmas::synchro::hard::HardDataSync< T >.
|
pure virtual |
Performs a partial synchronization of the specified node set.
The actual behavior is highly dependent on the currently implemented SyncMode.
The specified nodes
list might contain LOCAL and DISTANT nodes: it is the responsibility of the implemented SyncMode to eventually not do anything with LOCAL nodes.
nodes | nodes to synchronize |
Implemented in fpmas::synchro::ghost::GhostDataSync< T >.