![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <FunctionBinding.h>
Public Types | |
| typedef R(T::* | Operation) () const |
| Type of the function to execute. | |
Public Member Functions | |
| ValueSource< R > * | copy () const |
| FunctionBinding (T *const source, Operation operation, const R scale=1) | |
| R | getValue () const |
| ValueSource< double > * | makedoubleReturningCopy () const |
| ~FunctionBinding () | |
| Destructor. | |
Private Member Functions | |
| FunctionBinding< T, R > & | operator= (const FunctionBinding< T, R > &) |
| 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 37 of file FunctionBinding.h.
| typedef R(T::* FunctionBinding< T, R >::Operation) () const |
Type of the function to execute.
Definition at line 40 of file FunctionBinding.h.
|
inline |
Definition at line 42 of file FunctionBinding.h.
|
inline |
Destructor.
Definition at line 48 of file FunctionBinding.h.
|
inlinevirtual |
Implements ValueSource< R >.
Definition at line 54 of file FunctionBinding.h.
References FunctionBinding< T, R >::myOperation, FunctionBinding< T, R >::myScale, and FunctionBinding< T, R >::mySource.
|
inlinevirtual |
Implements ValueSource< R >.
Definition at line 50 of file FunctionBinding.h.
References FunctionBinding< T, R >::myOperation, FunctionBinding< T, R >::myScale, and FunctionBinding< T, R >::mySource.
|
inlinevirtual |
Implements ValueSource< R >.
Definition at line 58 of file FunctionBinding.h.
References FunctionBinding< T, R >::myOperation, FunctionBinding< T, R >::myScale, and FunctionBinding< T, R >::mySource.
|
private |
invalidated assignment operator
|
private |
The object's operation to perform.
Definition at line 67 of file FunctionBinding.h.
Referenced by FunctionBinding< T, R >::copy(), FunctionBinding< T, R >::getValue(), and FunctionBinding< T, R >::makedoubleReturningCopy().
|
private |
The scale to apply.
Definition at line 70 of file FunctionBinding.h.
Referenced by FunctionBinding< T, R >::copy(), FunctionBinding< T, R >::getValue(), and FunctionBinding< T, R >::makedoubleReturningCopy().
|
private |
The object the action is directed to.
Definition at line 64 of file FunctionBinding.h.
Referenced by FunctionBinding< T, R >::copy(), FunctionBinding< T, R >::getValue(), and FunctionBinding< T, R >::makedoubleReturningCopy().