distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
distortos::test::anonymous_namespace{SignalsCatchingTestCase.cpp}::SignalMaskStep Class Reference

test step that sets signal mask More...

Collaboration diagram for distortos::test::anonymous_namespace{SignalsCatchingTestCase.cpp}::SignalMaskStep:
[legend]

Public Member Functions

constexpr SignalMaskStep (const SignalSet signalMask)
 SignalMaskStep's constructor. More...
 
int operator() () const
 SignalMaskStep's function call operator. More...
 

Private Attributes

SignalSet signalMask_
 signal mask that will be set for current thread More...
 

Detailed Description

test step that sets signal mask

Constructor & Destructor Documentation

◆ SignalMaskStep()

constexpr distortos::test::anonymous_namespace{SignalsCatchingTestCase.cpp}::SignalMaskStep::SignalMaskStep ( const SignalSet  signalMask)
inlineexplicit

SignalMaskStep's constructor.

Parameters
[in]signalMaskis the signal mask that will be set for current thread

Member Function Documentation

◆ operator()()

int distortos::test::anonymous_namespace{SignalsCatchingTestCase.cpp}::SignalMaskStep::operator() ( ) const

SignalMaskStep's function call operator.

Sets configured signal mask for current thread.

Returns
0 on success, error code otherwise
Here is the call graph for this function:

Member Data Documentation

◆ signalMask_

SignalSet distortos::test::anonymous_namespace{SignalsCatchingTestCase.cpp}::SignalMaskStep::signalMask_
private

signal mask that will be set for current thread


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