|
SUMO - Simulation of Urban MObility
|
#include <FunctionBinding.h>
Public Types | |
| typedef R(T::* | Operation )() const |
| Type of the function to execute. More... | |
Public Member Functions | |
| ValueSource< R > * | copy () const |
| FunctionBinding (T *const source, Operation operation) | |
| R | getValue () const |
| ValueSource< SUMOReal > * | makeSUMORealReturningCopy () const |
| ~FunctionBinding () | |
| 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 48 of file FunctionBinding.h.
| typedef R(T::* FunctionBinding< T, R >::Operation)() const |
Type of the function to execute.
Definition at line 51 of file FunctionBinding.h.
|
inline |
Definition at line 53 of file FunctionBinding.h.
|
inline |
Destructor.
Definition at line 58 of file FunctionBinding.h.
|
inlinevirtual |
Implements ValueSource< R >.
Definition at line 64 of file FunctionBinding.h.
References FunctionBinding< T, R >::myOperation, and FunctionBinding< T, R >::mySource.
|
inlinevirtual |
Implements ValueSource< R >.
Definition at line 60 of file FunctionBinding.h.
References FunctionBinding< T, R >::myOperation, and FunctionBinding< T, R >::mySource.
|
inlinevirtual |
Implements ValueSource< R >.
Definition at line 68 of file FunctionBinding.h.
References FunctionBinding< T, R >::myOperation, and FunctionBinding< T, R >::mySource.
|
private |
The object's operation to perform.
Definition at line 77 of file FunctionBinding.h.
Referenced by FunctionBinding< T, R >::copy(), FunctionBinding< T, R >::getValue(), and FunctionBinding< T, R >::makeSUMORealReturningCopy().
|
private |
The object the action is directed to.
Definition at line 74 of file FunctionBinding.h.
Referenced by FunctionBinding< T, R >::copy(), FunctionBinding< T, R >::getValue(), and FunctionBinding< T, R >::makeSUMORealReturningCopy().