OpenLB 1.7
|
Factory for instances of a specific POST_PROCESSOR type. More...
#include <blockPostProcessorMap.h>
Public Member Functions | |
template<typename POST_PROCESSOR > | |
PostProcessorPromise (meta::id< POST_PROCESSOR > id=meta::id< POST_PROCESSOR >{}) | |
std::type_index | id () const |
Returns type index of the promised POST_PROCESSOR. | |
int | priority () const |
OperatorScope | scope () const |
template<Platform PLATFORM> | |
BlockO< T, DESCRIPTOR, PLATFORM > * | realize () |
Protected Attributes | |
std::type_index | _id |
int | _priority |
OperatorScope | _scope |
std::function< AbstractBlockO *(Platform)> | _constructor |
Factory for instances of a specific POST_PROCESSOR type.
Factory callable for ConcreteBlockO<POST_PROCESSOR> is constructed at PostProcessorPromise construction time. Recipients accepting such promised post processors are not obligated to actually realize this promise.
Analogously to DynamicsPromise, this structure is needed to bridge the gap between high level virtual interfaces and efficient platform-specific implementations with full type knowledge.
Definition at line 48 of file blockPostProcessorMap.h.
|
inline |
Definition at line 57 of file blockPostProcessorMap.h.
|
inline |
Returns type index of the promised POST_PROCESSOR.
Definition at line 82 of file blockPostProcessorMap.h.
References olb::PostProcessorPromise< T, DESCRIPTOR >::_id.
|
inline |
Definition at line 86 of file blockPostProcessorMap.h.
References olb::PostProcessorPromise< T, DESCRIPTOR >::_priority.
|
inline |
Definition at line 95 of file blockPostProcessorMap.h.
References olb::PostProcessorPromise< T, DESCRIPTOR >::_constructor.
|
inline |
Definition at line 90 of file blockPostProcessorMap.h.
References olb::PostProcessorPromise< T, DESCRIPTOR >::_scope.
|
protected |
Definition at line 53 of file blockPostProcessorMap.h.
|
protected |
Definition at line 50 of file blockPostProcessorMap.h.
|
protected |
Definition at line 51 of file blockPostProcessorMap.h.
|
protected |
Definition at line 52 of file blockPostProcessorMap.h.