AMDiS  0.3
The Adaptive Multi-Dimensional Simulation Toolbox
DataTransferWrapper< Container > Class Template Reference

#include <DataTransfer.hpp>

Public Member Functions

template<class Basis >
 DataTransferWrapper (DataTransferOperation op, std::shared_ptr< Basis > basis)
 
 DataTransferWrapper (Self const &that)
 
 DataTransferWrapper (Self &&that)=default
 
Selfoperator= (Self const &that)
 
Selfoperator= (Self &&that)=default
 
void preAdapt (Container const &c, bool b)
 
void adapt (Container &c)
 
void postAdapt (Container &c)
 

Detailed Description

template<class Container>
class AMDiS::DataTransferWrapper< Container >

Wrapper class for (No)DataTransfer objects. This wrapper class may be used instead of a pointer type to DataTransferInterface. It wraps and redirects to the implementation, while providing deep copy and move functionality. A virtual clone() method in the interface and implementation classes is required to perform the deep copy of the implementation.


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