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

Classes

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

Functions

void regularFunction (uint32_t &sharedVariable, const uint32_t magicValue)
 Regular function for callOnce() - arguments are passed by reference and by value. More...
 

Function Documentation

◆ regularFunction()

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

Regular 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
Here is the caller graph for this function: