distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
distortos::internal::SemaphoreWaitFunctor Class Reference

SemaphoreWaitFunctor class is a SemaphoreFunctor which calls Semaphore::wait() More...

#include <SemaphoreWaitFunctor.hpp>

Inheritance diagram for distortos::internal::SemaphoreWaitFunctor:
[legend]
Collaboration diagram for distortos::internal::SemaphoreWaitFunctor:
[legend]

Public Member Functions

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

Detailed Description

Member Function Documentation

◆ operator()()

int distortos::internal::SemaphoreWaitFunctor::operator() ( Semaphore semaphore) const
override

Calls Semaphore::wait()

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

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