distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
SemaphoreFunctor.hpp
Go to the documentation of this file.
1 
12 #ifndef INCLUDE_DISTORTOS_INTERNAL_SYNCHRONIZATION_SEMAPHOREFUNCTOR_HPP_
13 #define INCLUDE_DISTORTOS_INTERNAL_SYNCHRONIZATION_SEMAPHOREFUNCTOR_HPP_
14 
16 
17 namespace distortos
18 {
19 
20 class Semaphore;
21 
22 namespace internal
23 {
24 
34 class SemaphoreFunctor : public estd::TypeErasedFunctor<int(Semaphore&)>
35 {
36 
37 };
38 
39 } // namespace internal
40 
41 } // namespace distortos
42 
43 #endif // INCLUDE_DISTORTOS_INTERNAL_SYNCHRONIZATION_SEMAPHOREFUNCTOR_HPP_
Definition: TypeErasedFunctor.hpp:19
TypeErasedFunctor template class header.
Top-level namespace of distortos project.
SemaphoreFunctor is a type-erased interface for functors which execute some action on semaphore (wait...
Definition: SemaphoreFunctor.hpp:34