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.

◆ ~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

◆ 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

◆ myParam

◆ mySource

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

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