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:
[legend]
Collaboration diagram for distortos::internal::SemaphoreTryWaitFunctor:
[legend]

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
override

Calls Semaphore::tryWait()

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

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