Base class for defining an object that acts like a slave in pierced synchronization. More...
#include <piercedSync.hpp>
Protected Member Functions | |
PiercedSyncSlave () | |
virtual void | commitSyncAction (const PiercedSyncAction &action)=0 |
void | swap (PiercedSyncSlave &other) noexcept |
Friends | |
class | PiercedSyncMaster |
Base class for defining an object that acts like a slave in pierced synchronization.
Definition at line 106 of file piercedSync.hpp.
|
protected |
Constructor
Definition at line 181 of file piercedSync.cpp.
|
protectedpure virtual |
Implemented in bitpit::PiercedStorage< value_t, id_t >, bitpit::PiercedStorage< bitpit::Cell, long >, bitpit::PiercedStorage< bitpit::Interface, long >, bitpit::PiercedStorage< bitpit::mapping::Info >, bitpit::PiercedStorage< bitpit::Vertex, long >, bitpit::PiercedStorage< bool >, bitpit::PiercedStorage< bool, key_t >, bitpit::PiercedStorage< double >, bitpit::PiercedStorage< double, long >, bitpit::PiercedStorage< long, long >, bitpit::PiercedStorage< std::array< double, 3 > >, bitpit::PiercedStorage< std::array< double, 3 >, long >, bitpit::PiercedStorage< std::size_t >, bitpit::PiercedStorage< stencil_t >, bitpit::PiercedStorage< value_t, key_t >, and bitpit::PiercedStorage< value_t, long >.
|
protectednoexcept |
Exchanges the content of the kernel by the content of x, which is another kernel object of the same type. Sizes may differ.
After the call to this member function, the elements in this kernel are those which were in x before the call, and the elements of x are those which were in this. All iterators, references and pointers remain valid for the swapped objects.
other | is another kernel of the same type (i.e., instantiated with the same template parameters) whose content is swapped with that of this kernel. |
Definition at line 197 of file piercedSync.cpp.
|
friend |
Definition at line 108 of file piercedSync.hpp.