Template Class StateView¶
Defined in File state.h
Inheritance Relationships¶
Base Type¶
public ImmersX::StateAccessor< VectorType >(Template Class StateAccessor)
Class Documentation¶
-
template<typename VectorType>
class StateView : public ImmersX::StateAccessor<VectorType>¶ Non-owning view of externally supplied field vectors at one evaluation time.
More general time-dependent access is provided by StateAccessor. The StateLayout and every bound vector must outlive the view.
Public Functions
-
inline StateView(const StateLayout &layout, const double time)¶
-
inline StateView &bind(const FieldId field_id, const VectorType &values)¶
Bind an externally owned vector to a semantic field.
-
StateView &bind(const FieldId, VectorType&&) = delete¶
-
StateView &bind(const FieldId, const VectorType&&) = delete¶
-
inline virtual const VectorType &field(const FieldId field_id, const double requested_time) const override¶
-
inline double time() const¶
Return the time associated with this view.
-
inline StateView(const StateLayout &layout, const double time)¶