![]() |
Eclipse 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, const R scale=1) | |
| R | getValue () const |
| ValueSource< double > * | makedoubleReturningCopy () const |
| ~FunctionBinding () | |
| Destructor. More... | |
Private Member Functions | |
| FunctionBinding< T, R > & | operator= (const FunctionBinding< T, R > &) |
| invalidated assignment operator More... | |
Private Attributes | |
| Operation | myOperation |
| The object's operation to perform. More... | |
| const R | myScale |
| The scale to apply. More... | |
| T * | mySource |
| The object the action is directed to. More... | |
Definition at line 40 of file FunctionBinding.h.
| typedef R(T::* FunctionBinding< T, R >::Operation) () const |
Type of the function to execute.
Definition at line 43 of file FunctionBinding.h.
|
inline |
Definition at line 45 of file FunctionBinding.h.
|
inline |
Destructor.
Definition at line 51 of file FunctionBinding.h.
|
inlinevirtual |
Implements ValueSource< R >.
Definition at line 57 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 53 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 61 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 70 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 73 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 67 of file FunctionBinding.h.
Referenced by FunctionBinding< T, R >::copy(), FunctionBinding< T, R >::getValue(), and FunctionBinding< T, R >::makedoubleReturningCopy().