distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
SignalInformationQueueWrapper.hpp
Go to the documentation of this file.
1 
12 #ifndef INCLUDE_DISTORTOS_SIGNALINFORMATIONQUEUEWRAPPER_HPP_
13 #define INCLUDE_DISTORTOS_SIGNALINFORMATIONQUEUEWRAPPER_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  SignalInformationQueueWrapper(StorageUniquePointer&& storageUniquePointer, const size_t maxElements) :
49  signalInformationQueue_{std::move(storageUniquePointer), maxElements}
50  {
51 
52  }
53 
54 private:
55 
58 };
59 
60 } // namespace distortos
61 
62 #endif // INCLUDE_DISTORTOS_SIGNALINFORMATIONQUEUEWRAPPER_HPP_
internal::SignalInformationQueue signalInformationQueue_
contained internal::SignalInformationQueue object
Definition: SignalInformationQueueWrapper.hpp:57
internal::SignalInformationQueue::StorageUniquePointer StorageUniquePointer
import StorageUniquePointer type alias from internal::SignalInformationQueue
Definition: SignalInformationQueueWrapper.hpp:38
SignalsReceiverControlBlock class is a structure required by threads for "receiving" of signals...
Definition: SignalsReceiverControlBlock.hpp:37
typename std::aligned_storage< sizeof(QueueNode), alignof(QueueNode)>::type Storage
type of uninitialized storage for QueueNode
Definition: SignalInformationQueue.hpp:45
Top-level namespace of distortos project.
std::unique_ptr< Storage[], void(&)(Storage *)> StorageUniquePointer
unique_ptr (with deleter) to Storage[]
Definition: SignalInformationQueue.hpp:48
SignalInformationQueue class can be used for queuing of SignalInformation objects.
Definition: SignalInformationQueue.hpp:30
SignalInformationQueue class header.
SignalInformationQueueWrapper class is a container for internal::SignalInformationQueue.
Definition: SignalInformationQueueWrapper.hpp:28
SignalInformationQueueWrapper(StorageUniquePointer &&storageUniquePointer, const size_t maxElements)
SignalInformationQueueWrapper&#39;s constructor.
Definition: SignalInformationQueueWrapper.hpp:48
internal::SignalInformationQueue::Storage Storage
import Storage type alias from internal::SignalInformationQueue
Definition: SignalInformationQueueWrapper.hpp:35