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 |
Detailed Description
Base class for defining an object that acts like a slave in pierced synchronization.
Definition at line 106 of file piercedSync.hpp.
Constructor & Destructor Documentation
◆ PiercedSyncSlave()
|
protected |
Constructor
Definition at line 181 of file piercedSync.cpp.
Member Function Documentation
◆ commitSyncAction()
|
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 >, bitpit::PiercedStorage< double, long >, bitpit::PiercedStorage< long, long >, bitpit::PiercedStorage< PS_value_t, PS_id_t >, bitpit::PiercedStorage< PS_value_t, PS_id_t >, bitpit::PiercedStorage< std::array< double, 3 > >, bitpit::PiercedStorage< std::array< double, 3 > >, bitpit::PiercedStorage< std::array< double, 3 >, long >, bitpit::PiercedStorage< std::array< std::array< double, 3 >, 2 >, long >, bitpit::PiercedStorage< std::array< std::array< double, 3 >, 2 >, long >, bitpit::PiercedStorage< std::size_t >, bitpit::PiercedStorage< stencil_t >, bitpit::PiercedStorage< value_t, key_t >, bitpit::PiercedStorage< value_t, long >, and bitpit::PiercedStorage< value_t, long >.
◆ swap()
|
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.
- Parameters
-
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.
Friends And Related Symbol Documentation
◆ PiercedSyncMaster
|
friend |
Definition at line 108 of file piercedSync.hpp.
The documentation for this class was generated from the following files:
- src/containers/piercedSync.hpp
- src/containers/piercedSync.cpp
