GemaCoreLib
The GeMA Core library
Public Member Functions | Protected Attributes | List of all members
GmInterpolatorNodeDataBinding< Base, Ac > Class Template Reference

A GmInterpolatorInputDataBinding implementation returning values provided by a node value accessor. Its base class is a template parameter so that we can share the same implementation for an GmInterpolatorInOutDataBinding descendent. The second template should be either a const GmValueAccessor* or a GmValueAccessor*. More...

#include <gmInterpolatorInputBindings.h>

Inheritance diagram for GmInterpolatorNodeDataBinding< Base, Ac >:
Inheritance graph
[legend]
Collaboration diagram for GmInterpolatorNodeDataBinding< Base, Ac >:
Collaboration graph
[legend]

Public Member Functions

 GmInterpolatorNodeDataBinding (GmInterpolatorNodeCoordinateSetBinding *pointSet, Ac nodeAc)
 Constructor, receiving the point set for which this binding will return values and the accessor used to retrieve them.
 
virtual int numSrcs ()
 
virtual int size () const
 
virtual int valueSize (int srcIndex) const
 
virtual void reset ()
 
virtual bool next ()
 
virtual const double * value (int srcIndex)
 
virtual void coordinate (GmCRVector &coord)
 

Protected Attributes

GmInterpolatorNodeCoordinateSetBinding_pointSet
 The point set providing the indices used to access values.
 
Ac _valueAc
 The accessor for the interpolated node values.
 
int _currIndex
 The current index.
 
GmCRVector _currCoord
 The current coordinate.
 

Detailed Description

template<class Base, class Ac>
class GmInterpolatorNodeDataBinding< Base, Ac >

A GmInterpolatorInputDataBinding implementation returning values provided by a node value accessor. Its base class is a template parameter so that we can share the same implementation for an GmInterpolatorInOutDataBinding descendent. The second template should be either a const GmValueAccessor* or a GmValueAccessor*.


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