distortos  v0.7.0
object-oriented C++ RTOS for microcontrollers
distortos::internal::SemaphoreTryWaitFunctor Class Reference

SemaphoreTryWaitFunctor class is a SemaphoreFunctor which calls Semaphore::tryWait() More...

#include "distortos/internal/synchronization/SemaphoreTryWaitFunctor.hpp"

Inheritance diagram for distortos::internal::SemaphoreTryWaitFunctor:
Collaboration diagram for distortos::internal::SemaphoreTryWaitFunctor:

Public Member Functions

int operator() (Semaphore &semaphore) const override
 Calls Semaphore::tryWait() More...

Detailed Description

Member Function Documentation

◆ operator()()

int distortos::internal::SemaphoreTryWaitFunctor::operator() ( Semaphore semaphore) const

Calls Semaphore::tryWait()

[in]semaphoreis a reference to Semaphore object for which Semaphore::tryWait() will be called
value returned by Semaphore::tryWait()
Here is the call graph for this function:

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