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

Object class is a class with state. More...

Public Member Functions

constexpr Object (const uint32_t magicValue)
 Object's constructor. More...
 
void function ()
 Object's function for callOnce() - arguments are passed in the object instance. More...
 
uint32_t getVariable () const
 

Private Attributes

uint32_t variable_
 contained variable - used to return result More...
 
const uint32_t magicValue_
 value which will be assigned to contained variable - used as argument More...
 

Detailed Description

Object class is a class with state.

Constructor & Destructor Documentation

◆ Object()

constexpr distortos::test::anonymous_namespace{CallOnceFunctionTypesTestCase.cpp}::Object::Object ( const uint32_t  magicValue)
inline

Object's constructor.

Parameters
[in]magicValueis the value which will be assigned to contained variable variable

Member Function Documentation

◆ function()

void distortos::test::anonymous_namespace{CallOnceFunctionTypesTestCase.cpp}::Object::function ( )
inline

Object's function for callOnce() - arguments are passed in the object instance.

◆ getVariable()

uint32_t distortos::test::anonymous_namespace{CallOnceFunctionTypesTestCase.cpp}::Object::getVariable ( ) const
inline
Returns
contained variable

Member Data Documentation

◆ magicValue_

const uint32_t distortos::test::anonymous_namespace{CallOnceFunctionTypesTestCase.cpp}::Object::magicValue_
private

value which will be assigned to contained variable - used as argument

◆ variable_

uint32_t distortos::test::anonymous_namespace{CallOnceFunctionTypesTestCase.cpp}::Object::variable_
private

contained variable - used to return result


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