 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
19 #ifndef FunctionBinding_h
20 #define FunctionBinding_h
39 template<
class T,
typename R >
FunctionBinding(T *const source, Operation operation, const R scale=1)
FunctionBindingString(T *const source, Operation operation)
T * mySource
The object the action is directed to.
ValueSource< R > * copy() const
std::string getValue() const
~FunctionBindingString()
Destructor.
R(T::* Operation)() const
Type of the function to execute.
ValueSource< double > * makedoubleReturningCopy() const
Operation myOperation
The object's operation to perform.
Operation myOperation
The object's operation to perform.
const R myScale
The scale to apply.
FunctionBinding< T, R > & operator=(const FunctionBinding< T, R > &)
invalidated assignment operator
T * mySource
The object the action is directed to.
std::string(T::* Operation)() const
Type of the function to execute.
~FunctionBinding()
Destructor.
ValueSource< double > * makedoubleReturningCopy() const
ValueSource< std::string > * copy() const
FunctionBindingString< T > & operator=(const FunctionBindingString< T > &)
invalidated assignment operator