Loading...
Searching...
No Matches
Protected Member Functions | Friends | List of all members
bitpit::PiercedSyncSlave Class Referenceabstract

Base class for defining an object that acts like a slave in pierced synchronization. More...

#include <piercedSync.hpp>

Inheritance diagram for bitpit::PiercedSyncSlave:
Inheritance graph
[legend]

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()

bitpit::PiercedSyncSlave::PiercedSyncSlave ( )
protected

Constructor

Definition at line 181 of file piercedSync.cpp.

Member Function Documentation

◆ commitSyncAction()

virtual void bitpit::PiercedSyncSlave::commitSyncAction ( const PiercedSyncAction & action)
protectedpure virtual

◆ swap()

void bitpit::PiercedSyncSlave::swap ( PiercedSyncSlave & other)
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
otheris 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 class PiercedSyncMaster
friend

Definition at line 108 of file piercedSync.hpp.


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