Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::IDataSynchronizeDispatcher Class Referenceabstract

Interface to manage the synchronization of a data item. More...

#include <arcane/impl/internal/IDataSynchronizeDispatcher.h>

Inheritance diagram for Arcane::IDataSynchronizeDispatcher:
Collaboration diagram for Arcane::IDataSynchronizeDispatcher:

Public Member Functions

virtual void compute ()=0
 Recalculates the necessary information after an update to the DataSynchronizeInfo.
virtual void setSynchronizeBuffer (Ref< MemoryBuffer > buffer)=0
 Positions the synchronization buffer.
virtual void beginSynchronize (INumericDataInternal *data, bool is_compare_sync)=0
 Starts the execution for synchronization for the data data.
virtual DataSynchronizeResult endSynchronize ()=0
 Ends the synchronization.

Static Public Member Functions

static Ref< IDataSynchronizeDispatchercreate (const DataSynchronizeDispatcherBuildInfo &build_info)

Private Member Functions

 ARCCORE_DECLARE_REFERENCE_COUNTED_INCLASS_METHODS ()

Detailed Description

Interface to manage the synchronization of a data item.

You must use create() to create an implementation for this interface.

You must call compute() before being able to use the instance, and also when the associated entity family changes.

Definition at line 100 of file IDataSynchronizeDispatcher.h.

Member Function Documentation

◆ beginSynchronize()

virtual void Arcane::IDataSynchronizeDispatcher::beginSynchronize ( INumericDataInternal * data,
bool is_compare_sync )
pure virtual

Starts the execution for synchronization for the data data.

Implemented in Arcane::DataSynchronizeDispatcher.

◆ compute()

virtual void Arcane::IDataSynchronizeDispatcher::compute ( )
pure virtual

Recalculates the necessary information after an update to the DataSynchronizeInfo.

Implemented in Arcane::DataSynchronizeDispatcher.

◆ create()

Ref< IDataSynchronizeDispatcher > Arcane::IDataSynchronizeDispatcher::create ( const DataSynchronizeDispatcherBuildInfo & build_info)
static

Definition at line 196 of file DataSynchronizeDispatcher.cc.

◆ endSynchronize()

virtual DataSynchronizeResult Arcane::IDataSynchronizeDispatcher::endSynchronize ( )
pure virtual

Ends the synchronization.

beginSynchronize() must have been called before.

Implemented in Arcane::DataSynchronizeDispatcher.

◆ setSynchronizeBuffer()

virtual void Arcane::IDataSynchronizeDispatcher::setSynchronizeBuffer ( Ref< MemoryBuffer > buffer)
pure virtual

Positions the synchronization buffer.

You must call this method before beginSynchronize(). The buffer must not be modified before calling endSynchronize()

Implemented in Arcane::DataSynchronizeDispatcher.


The documentation for this class was generated from the following files: