distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
distortos::test::anonymous_namespace{CallOnceFunctionTypesTestCase.cpp}::Functor Class Reference

Functor class is a state-less functor. More...

Public Member Functions

void operator() (uint32_t &sharedVariable, const uint32_t magicValue) const
 Functor's function for callOnce() - arguments are passed by reference and by value. More...
 

Detailed Description

Functor class is a state-less functor.

Member Function Documentation

◆ operator()()

void distortos::test::anonymous_namespace{CallOnceFunctionTypesTestCase.cpp}::Functor::operator() ( uint32_t &  sharedVariable,
const uint32_t  magicValue 
) const
inline

Functor's function for callOnce() - arguments are passed by reference and by value.

Parameters
[out]sharedVariableis a reference to shared variable
[in]magicValueis the value which will be assigned to shared variable

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