Eclipse SUMO - Simulation of Urban MObility
|
#include <CastingFunctionBinding_Param.h>
Public Types | |
typedef O(T::* | Operation) (P) const |
Type of the function to execute. | |
Public Member Functions | |
CastingFunctionBinding_Param (T *source, Operation operation, P param, const R scale=1.0) | |
ValueSource< R > * | copy () const |
R | getValue () const |
ValueSource< double > * | makedoubleReturningCopy () const |
~CastingFunctionBinding_Param () | |
Destructor. | |
Private Member Functions | |
CastingFunctionBinding_Param< T, R, O, P > & | operator= (const CastingFunctionBinding_Param< T, R, O, P > &) |
invalidated assignment operator | |
Private Attributes | |
Operation | myOperation |
The object's operation to perform. | |
const P | myParam |
The parameter to apply to the operation. | |
const R | myScale |
The scale to apply. | |
T * | mySource |
The object the action is directed to. | |
Definition at line 35 of file CastingFunctionBinding_Param.h.
typedef O(T::* CastingFunctionBinding_Param< T, R, O, P >::Operation) (P) const |
Type of the function to execute.
Definition at line 38 of file CastingFunctionBinding_Param.h.
|
inline |
Definition at line 40 of file CastingFunctionBinding_Param.h.
|
inline |
Destructor.
Definition at line 48 of file CastingFunctionBinding_Param.h.
|
inlinevirtual |
Implements ValueSource< R >.
Definition at line 54 of file CastingFunctionBinding_Param.h.
References CastingFunctionBinding_Param< T, R, O, P >::myOperation, CastingFunctionBinding_Param< T, R, O, P >::myParam, CastingFunctionBinding_Param< T, R, O, P >::myScale, and CastingFunctionBinding_Param< T, R, O, P >::mySource.
|
inlinevirtual |
Implements ValueSource< R >.
Definition at line 50 of file CastingFunctionBinding_Param.h.
References CastingFunctionBinding_Param< T, R, O, P >::myOperation, CastingFunctionBinding_Param< T, R, O, P >::myParam, CastingFunctionBinding_Param< T, R, O, P >::myScale, and CastingFunctionBinding_Param< T, R, O, P >::mySource.
|
inlinevirtual |
Implements ValueSource< R >.
Definition at line 58 of file CastingFunctionBinding_Param.h.
References CastingFunctionBinding_Param< T, R, O, P >::myOperation, CastingFunctionBinding_Param< T, R, O, P >::myParam, CastingFunctionBinding_Param< T, R, O, P >::myScale, and CastingFunctionBinding_Param< T, R, O, P >::mySource.
|
private |
invalidated assignment operator
|
private |
The object's operation to perform.
Definition at line 67 of file CastingFunctionBinding_Param.h.
Referenced by CastingFunctionBinding_Param< T, R, O, P >::copy(), CastingFunctionBinding_Param< T, R, O, P >::getValue(), and CastingFunctionBinding_Param< T, R, O, P >::makedoubleReturningCopy().
|
private |
The parameter to apply to the operation.
Definition at line 73 of file CastingFunctionBinding_Param.h.
Referenced by CastingFunctionBinding_Param< T, R, O, P >::copy(), CastingFunctionBinding_Param< T, R, O, P >::getValue(), and CastingFunctionBinding_Param< T, R, O, P >::makedoubleReturningCopy().
|
private |
The scale to apply.
Definition at line 70 of file CastingFunctionBinding_Param.h.
Referenced by CastingFunctionBinding_Param< T, R, O, P >::copy(), CastingFunctionBinding_Param< T, R, O, P >::getValue(), and CastingFunctionBinding_Param< T, R, O, P >::makedoubleReturningCopy().
|
private |
The object the action is directed to.
Definition at line 64 of file CastingFunctionBinding_Param.h.
Referenced by CastingFunctionBinding_Param< T, R, O, P >::copy(), CastingFunctionBinding_Param< T, R, O, P >::getValue(), and CastingFunctionBinding_Param< T, R, O, P >::makedoubleReturningCopy().