PLaSK library
|
Instantiation of this template is abstract base class for provider class which provide values in points described by mesh and use interpolation. More...
#include <plask/provider/provider.hpp>
Public Types | |
typedef LazyData< ValueT > | ProvidedType |
Type of value provided by this (returned by operator()). | |
typedef EnumT | EnumType |
Type of value number. | |
Public Member Functions | |
const char * | name () const override |
virtual size_t | size () const =0 |
Get number of values. | |
virtual ProvidedType | operator() (EnumT num, shared_ptr< const MeshD< SpaceT::DIM > > dst_mesh, ExtraArgs... extra_args, InterpolationMethod method) const =0 |
ProvidedType | operator() (EnumT num, shared_ptr< const MeshD< SpaceT::DIM > > dst_mesh, ExtraArgs... extra_args) const |
Call this->operator()(dst_mesh, DEFAULT). | |
ProvidedType | operator() (EnumT num, shared_ptr< const MeshD< SpaceT::DIM > > dst_mesh, std::tuple< ExtraArgs... > &&extra_args, InterpolationMethod method=INTERPOLATION_DEFAULT) const |
ProvidedType | operator() (shared_ptr< const MeshD< SpaceT::DIM > > dst_mesh, ExtraArgs... extra_args, InterpolationMethod method) const |
Call this->operator()(0, dst_mesh, method). | |
ProvidedType | operator() (shared_ptr< const MeshD< SpaceT::DIM > > dst_mesh, ExtraArgs... extra_args) const |
Call this->operator()(0, dst_mesh, DEFAULT). | |
ProvidedType | operator() (shared_ptr< const MeshD< SpaceT::DIM > > dst_mesh, std::tuple< ExtraArgs... > &&extra_args, InterpolationMethod method=INTERPOLATION_DEFAULT) const |
Call this->operator()(0, dst_mesh, method). | |
Public Member Functions inherited from plask::Provider | |
Provider & | operator= (const Provider &)=delete |
Provider (const Provider &)=delete | |
Provider ()=default | |
virtual | ~Provider () |
Call onDisconnect for all listeners in listeners set. | |
void | fireChanged () |
Call onChange for all listeners. | |
Static Public Attributes | |
static constexpr const char * | NAME = "undefined field" |
Static Public Attributes inherited from plask::Provider | |
static constexpr const char * | NAME = "undefined" |
Additional Inherited Members | |
Public Attributes inherited from plask::Provider | |
boost::signals2::signal< void(Provider &, bool)> | changed |
Signal called when providers value has been changed or provider is being deleted. | |
Instantiation of this template is abstract base class for provider class which provide values in points described by mesh and use interpolation.
Definition at line 562 of file provider.hpp.
Type of value number.
Definition at line 571 of file provider.hpp.
typedef LazyData<ValueT> plask::MultiFieldProvider< ValueT, SpaceT, EnumT, ExtraArgs >::ProvidedType |
Type of value provided by this (returned by operator()).
Definition at line 568 of file provider.hpp.
|
inlineoverridevirtual |
Reimplemented from plask::Provider.
Reimplemented in plask::ProviderImpl< PropertyT, MULTI_FIELD_PROPERTY, SpaceT, VariadicTemplateTypesHolder< _ExtraParams... > >.
Definition at line 565 of file provider.hpp.
|
inline |
Call this->operator()(dst_mesh, DEFAULT).
num | number of the value |
dst_mesh | set of requested points |
extra_args | additional provider arguments |
Definition at line 595 of file provider.hpp.
|
pure virtual |
num | number of the value |
dst_mesh | set of requested points |
extra_args | additional provider arguments |
method | method which should be use to do interpolation |
|
inline |
num | number of the value |
dst_mesh | set of requested points |
extra_args | additional provider arguments, given in tuple |
method | method which should be use to do interpolation |
Definition at line 606 of file provider.hpp.
|
inline |
Call this->operator()(0, dst_mesh, DEFAULT).
dst_mesh | set of requested points |
extra_args | additional provider arguments |
Definition at line 628 of file provider.hpp.
|
inline |
Call this->operator()(0, dst_mesh, method).
dst_mesh | set of requested points |
extra_args | additional provider arguments |
method | method which should be use to do interpolation |
Definition at line 618 of file provider.hpp.
|
inline |
Call this->operator()(0, dst_mesh, method).
dst_mesh | set of requested points |
extra_args | additional provider arguments, given in tuple |
method | method which should be use to do interpolation |
Definition at line 639 of file provider.hpp.
|
pure virtual |
Get number of values.
|
staticconstexpr |
Definition at line 564 of file provider.hpp.