Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
FuncBinding_IntParam< T, R > Class Template Reference

#include <FuncBinding_IntParam.h>

Inheritance diagram for FuncBinding_IntParam< T, R >:
[legend]
Collaboration diagram for FuncBinding_IntParam< T, R >:
[legend]

Public Types

typedef R(T::* Operation) (int) const
 Type of the function to execute.

Public Member Functions

ValueSource< R > * copy () const
 FuncBinding_IntParam (T *source, Operation operation, int param)
double getValue () const
ValueSource< double > * makedoubleReturningCopy () const
 ~FuncBinding_IntParam ()
 Destructor.

Private Attributes

Operation myOperation
 The object's operation to perform.
int myParam
T * mySource
 The object the action is directed to.

Detailed Description

template<class T, typename R>
class FuncBinding_IntParam< T, R >

Definition at line 35 of file FuncBinding_IntParam.h.

Member Typedef Documentation

◆ Operation

template<class T, typename R>
typedef R(T::* FuncBinding_IntParam< T, R >::Operation) (int) const

Type of the function to execute.

Definition at line 38 of file FuncBinding_IntParam.h.

Constructor & Destructor Documentation

◆ FuncBinding_IntParam()

template<class T, typename R>
FuncBinding_IntParam< T, R >::FuncBinding_IntParam ( T * source,
Operation operation,
int param )
inline

Definition at line 40 of file FuncBinding_IntParam.h.

References myOperation, myParam, and mySource.

Referenced by copy(), and makedoubleReturningCopy().

Here is the caller graph for this function:

◆ ~FuncBinding_IntParam()

template<class T, typename R>
FuncBinding_IntParam< T, R >::~FuncBinding_IntParam ( )
inline

Destructor.

Definition at line 48 of file FuncBinding_IntParam.h.

Member Function Documentation

◆ copy()

template<class T, typename R>
ValueSource< R > * FuncBinding_IntParam< T, R >::copy ( ) const
inlinevirtual

◆ getValue()

template<class T, typename R>
double FuncBinding_IntParam< T, R >::getValue ( ) const
inlinevirtual

Implements ValueSource< R >.

Definition at line 50 of file FuncBinding_IntParam.h.

References myOperation, myParam, and mySource.

◆ makedoubleReturningCopy()

template<class T, typename R>
ValueSource< double > * FuncBinding_IntParam< T, R >::makedoubleReturningCopy ( ) const
inlinevirtual

Field Documentation

◆ myOperation

template<class T, typename R>
Operation FuncBinding_IntParam< T, R >::myOperation
private

The object's operation to perform.

Definition at line 70 of file FuncBinding_IntParam.h.

Referenced by copy(), FuncBinding_IntParam(), getValue(), and makedoubleReturningCopy().

◆ myParam

template<class T, typename R>
int FuncBinding_IntParam< T, R >::myParam
private

◆ mySource

template<class T, typename R>
T* FuncBinding_IntParam< T, R >::mySource
private

The object the action is directed to.

Definition at line 67 of file FuncBinding_IntParam.h.

Referenced by copy(), FuncBinding_IntParam(), getValue(), and makedoubleReturningCopy().


The documentation for this class was generated from the following file: