SUMO - Simulation of Urban MObility
|
#include <CastingFunctionBinding.h>
Public Types | |
typedef O(T::* | Operation )() const |
Type of the function to execute. More... | |
Public Member Functions | |
CastingFunctionBinding (T *source, Operation operation) | |
ValueSource< R > * | copy () const |
R | getValue () const |
ValueSource< SUMOReal > * | makeSUMORealReturningCopy () const |
~CastingFunctionBinding () | |
Destructor. More... | |
Private Attributes | |
Operation | myOperation |
The object's operation to perform. More... | |
T * | mySource |
The object the action is directed to. More... | |
Definition at line 45 of file CastingFunctionBinding.h.
typedef O(T::* CastingFunctionBinding< T, R, O >::Operation)() const |
Type of the function to execute.
Definition at line 48 of file CastingFunctionBinding.h.
|
inline |
Definition at line 50 of file CastingFunctionBinding.h.
|
inline |
Destructor.
Definition at line 55 of file CastingFunctionBinding.h.
|
inlinevirtual |
Implements ValueSource< R >.
Definition at line 61 of file CastingFunctionBinding.h.
References CastingFunctionBinding< T, R, O >::myOperation, and CastingFunctionBinding< T, R, O >::mySource.
|
inlinevirtual |
Implements ValueSource< R >.
Definition at line 57 of file CastingFunctionBinding.h.
References CastingFunctionBinding< T, R, O >::myOperation, and CastingFunctionBinding< T, R, O >::mySource.
|
inlinevirtual |
Implements ValueSource< R >.
Definition at line 65 of file CastingFunctionBinding.h.
References CastingFunctionBinding< T, R, O >::myOperation, and CastingFunctionBinding< T, R, O >::mySource.
|
private |
The object's operation to perform.
Definition at line 76 of file CastingFunctionBinding.h.
Referenced by CastingFunctionBinding< T, R, O >::copy(), CastingFunctionBinding< T, R, O >::getValue(), and CastingFunctionBinding< T, R, O >::makeSUMORealReturningCopy().
|
private |
The object the action is directed to.
Definition at line 73 of file CastingFunctionBinding.h.
Referenced by CastingFunctionBinding< T, R, O >::copy(), CastingFunctionBinding< T, R, O >::getValue(), and CastingFunctionBinding< T, R, O >::makeSUMORealReturningCopy().