23 #ifndef FunctionBinding_h
24 #define FunctionBinding_h
47 template<
class T,
typename R >
FunctionBinding(T *const source, Operation operation, const R scale=1)
T * mySource
The object the action is directed to.
ValueSource< SUMOReal > * makeSUMORealReturningCopy() const
const R myScale
The scale to apply.
FunctionBinding< T, R > & operator=(const FunctionBinding< T, R > &)
invalidated assignment operator
R(T::* Operation)() const
Type of the function to execute.
Operation myOperation
The object's operation to perform.
~FunctionBinding()
Destructor.
ValueSource< R > * copy() const