distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
SignalsCatcher.hpp
Go to the documentation of this file.
1 
12 #ifndef INCLUDE_DISTORTOS_SIGNALSCATCHER_HPP_
13 #define INCLUDE_DISTORTOS_SIGNALSCATCHER_HPP_
14 
16 
17 namespace distortos
18 {
19 
20 namespace internal
21 {
22 
23 class SignalsReceiverControlBlock;
24 
25 } // namespace internal
26 
29 {
31 
32 public:
33 
36 
39 
48  SignalsCatcher(StorageUniquePointer&& storageUniquePointer, const size_t storageSize) :
49  signalsCatcherControlBlock_{std::move(storageUniquePointer), storageSize}
50  {
51 
52  }
53 
54 private:
55 
58 };
59 
60 } // namespace distortos
61 
62 #endif // INCLUDE_DISTORTOS_SIGNALSCATCHER_HPP_
internal::SignalsCatcherControlBlock::StorageUniquePointer StorageUniquePointer
import StorageUniquePointer type alias from internal::SignalsCatcherControlBlock
Definition: SignalsCatcher.hpp:38
internal::SignalsCatcherControlBlock signalsCatcherControlBlock_
contained internal::SignalsCatcherControlBlock object
Definition: SignalsCatcher.hpp:57
std::aligned_storage< sizeof(Association), alignof(Association)>::type Storage
type of uninitialized storage for Association objects
Definition: SignalsCatcherControlBlock.hpp:37
SignalsCatcherControlBlock class is a structure required by threads for "catching" and "handling" of ...
Definition: SignalsCatcherControlBlock.hpp:29
SignalsCatcherControlBlock class header.
SignalsCatcher(StorageUniquePointer &&storageUniquePointer, const size_t storageSize)
SignalsCatcher&#39;s constructor.
Definition: SignalsCatcher.hpp:48
SignalsReceiverControlBlock class is a structure required by threads for "receiving" of signals...
Definition: SignalsReceiverControlBlock.hpp:37
Top-level namespace of distortos project.
internal::SignalsCatcherControlBlock::Storage Storage
import Storage type alias from internal::SignalsCatcherControlBlock
Definition: SignalsCatcher.hpp:35
std::unique_ptr< Storage[], void(&)(Storage *)> StorageUniquePointer
unique_ptr (with deleter) to Storage[]
Definition: SignalsCatcherControlBlock.hpp:40
SignalsCatcher class is a container for internal::SignalsCatcherControlBlock.
Definition: SignalsCatcher.hpp:28