PLaSK library
Loading...
Searching...
No Matches
plask::DataSourceImpl< PropertyT, FIELD_PROPERTY, OutputSpaceT, VariadicTemplateTypesHolder< ExtraArgs... > > Class Template Referenceabstract

#include <plask/filters/base.hpp>

Public Types

typedef OutputSpaceT OutputSpaceType
 
typedef PropertyAt< PropertyT, OutputSpaceType >::ValueType ValueType
 Type of property value in output space.
 

Public Member Functions

virtual ~DataSourceImpl ()
 
virtual std::function< plask::optional< ValueType >(std::size_t index)> operator() (const shared_ptr< const MeshD< OutputSpaceType::DIM > > &dst_mesh, ExtraArgs... extra_args, InterpolationMethod method) const =0
 
std::function< plask::optional< ValueType >(std::size_t index)> operator() (const shared_ptr< const MeshD< OutputSpaceType::DIM > > &dst_mesh, std::tuple< ExtraArgs... > extra_args, InterpolationMethod method) const
 

Public Attributes

boost::signals2::signal< void()> changed
 Signal called when source has been changed.
 

Detailed Description

template<typename PropertyT, typename OutputSpaceT, typename... ExtraArgs>
class plask::DataSourceImpl< PropertyT, FIELD_PROPERTY, OutputSpaceT, VariadicTemplateTypesHolder< ExtraArgs... > >

Definition at line 33 of file base.hpp.

Member Typedef Documentation

◆ OutputSpaceType

Definition at line 41 of file base.hpp.

◆ ValueType

Type of property value in output space.

Definition at line 60 of file base.hpp.

Constructor & Destructor Documentation

◆ ~DataSourceImpl()

Definition at line 75 of file base.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename PropertyT , typename OutputSpaceT , typename... ExtraArgs>
virtual std::function< plask::optional< ValueType >(std::size_t index)> plask::DataSourceImpl< PropertyT, FIELD_PROPERTY, OutputSpaceT, VariadicTemplateTypesHolder< ExtraArgs... > >::operator() ( const shared_ptr< const MeshD< OutputSpaceType::DIM > > &  dst_mesh,
ExtraArgs...  extra_args,
InterpolationMethod  method 
) const
pure virtual

◆ operator()() [2/2]

template<typename PropertyT , typename OutputSpaceT , typename... ExtraArgs>
std::function< plask::optional< ValueType >(std::size_t index)> plask::DataSourceImpl< PropertyT, FIELD_PROPERTY, OutputSpaceT, VariadicTemplateTypesHolder< ExtraArgs... > >::operator() ( const shared_ptr< const MeshD< OutputSpaceType::DIM > > &  dst_mesh,
std::tuple< ExtraArgs... >  extra_args,
InterpolationMethod  method 
) const
inline

Definition at line 79 of file base.hpp.

Member Data Documentation

◆ changed

template<typename PropertyT , typename OutputSpaceT , typename... ExtraArgs>
boost::signals2::signal<void()> plask::DataSourceImpl< PropertyT, FIELD_PROPERTY, OutputSpaceT, VariadicTemplateTypesHolder< ExtraArgs... > >::changed

Signal called when source has been changed.

Definition at line 46 of file base.hpp.


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