VSM C++ SDK
Vehicle Specific Modules SDK
ugcs::vsm::param_setter_internal::Param_setter< Params > Class Template Reference

Callable setter object. More...

#include <param_setter.h>

Public Member Functions

 Param_setter (Params &...params)
 Construct the setter. More...
 
void operator() (Params...values)
 Set values to the linked variables. More...
 

Detailed Description

template<typename... Params>
class ugcs::vsm::param_setter_internal::Param_setter< Params >

Callable setter object.

Constructor & Destructor Documentation

template<typename... Params>
ugcs::vsm::param_setter_internal::Param_setter< Params >::Param_setter ( Params &...  params)
inline

Construct the setter.

Parameters
paramsVariables which will be linked to the setter object. References to them are stored in the setter and value is modified when the setter is called.

Member Function Documentation

template<typename... Params>
void ugcs::vsm::param_setter_internal::Param_setter< Params >::operator() ( Params...  values)
inline

Set values to the linked variables.

Parameters
valuesValues to set. Should correspond to the variables list provided to the constructor.

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