Eclipse SUMO - Simulation of Urban MObility
|
#include <CastingFunctionBinding.h>
Public Types | |
typedef O(T::* | Operation) () const |
Type of the function to execute. | |
Public Member Functions | |
CastingFunctionBinding (T *source, Operation operation, const R scale=1) | |
ValueSource< R > * | copy () const |
R | getValue () const |
ValueSource< double > * | makedoubleReturningCopy () const |
~CastingFunctionBinding () | |
Destructor. | |
Private Member Functions | |
CastingFunctionBinding< T, R, O > & | operator= (const CastingFunctionBinding< T, R, O > &) |
invalidated assignment operator | |
Private Attributes | |
Operation | myOperation |
The object's operation to perform. | |
const R | myScale |
The scale to apply. | |
T * | mySource |
The object the action is directed to. | |
Definition at line 35 of file CastingFunctionBinding.h.
typedef O(T::* CastingFunctionBinding< T, R, O >::Operation) () const |
Type of the function to execute.
Definition at line 38 of file CastingFunctionBinding.h.
|
inline |
Definition at line 40 of file CastingFunctionBinding.h.
|
inline |
Destructor.
Definition at line 46 of file CastingFunctionBinding.h.
|
inlinevirtual |
Implements ValueSource< R >.
Definition at line 52 of file CastingFunctionBinding.h.
References CastingFunctionBinding< T, R, O >::myOperation, CastingFunctionBinding< T, R, O >::myScale, and CastingFunctionBinding< T, R, O >::mySource.
|
inlinevirtual |
Implements ValueSource< R >.
Definition at line 48 of file CastingFunctionBinding.h.
References CastingFunctionBinding< T, R, O >::myOperation, CastingFunctionBinding< T, R, O >::myScale, and CastingFunctionBinding< T, R, O >::mySource.
|
inlinevirtual |
Implements ValueSource< R >.
Definition at line 56 of file CastingFunctionBinding.h.
References CastingFunctionBinding< T, R, O >::myOperation, CastingFunctionBinding< T, R, O >::myScale, and CastingFunctionBinding< T, R, O >::mySource.
|
private |
invalidated assignment operator
|
private |
The object's operation to perform.
Definition at line 65 of file CastingFunctionBinding.h.
Referenced by CastingFunctionBinding< T, R, O >::copy(), CastingFunctionBinding< T, R, O >::getValue(), and CastingFunctionBinding< T, R, O >::makedoubleReturningCopy().
|
private |
The scale to apply.
Definition at line 68 of file CastingFunctionBinding.h.
Referenced by CastingFunctionBinding< T, R, O >::copy(), CastingFunctionBinding< T, R, O >::getValue(), and CastingFunctionBinding< T, R, O >::makedoubleReturningCopy().
|
private |
The object the action is directed to.
Definition at line 62 of file CastingFunctionBinding.h.
Referenced by CastingFunctionBinding< T, R, O >::copy(), CastingFunctionBinding< T, R, O >::getValue(), and CastingFunctionBinding< T, R, O >::makedoubleReturningCopy().