distortos  v0.5.0
object-oriented C++ RTOS for microcontrollers
SignalsReceiver.hpp
Go to the documentation of this file.
1 
12 #ifndef INCLUDE_DISTORTOS_SIGNALSRECEIVER_HPP_
13 #define INCLUDE_DISTORTOS_SIGNALSRECEIVER_HPP_
14 
16 
17 #if CONFIG_SIGNALS_ENABLE == 1
18 
20 
21 namespace distortos
22 {
23 
24 namespace internal
25 {
26 
27 class ThreadControlBlock;
28 
29 } // namespace internal
30 
33 {
35 
36 public:
37 
47  explicit SignalsReceiver(SignalInformationQueueWrapper* const signalInformationQueueWrapper,
48  SignalsCatcher* const signalsCatcher) :
49  signalsReceiverControlBlock_{signalInformationQueueWrapper, signalsCatcher}
50  {
51 
52  }
53 
54 private:
55 
58 };
59 
60 } // namespace distortos
61 
62 #endif // CONFIG_SIGNALS_ENABLE == 1
63 
64 #endif // INCLUDE_DISTORTOS_SIGNALSRECEIVER_HPP_
SignalsReceiver(SignalInformationQueueWrapper *const signalInformationQueueWrapper, SignalsCatcher *const signalsCatcher)
SignalsReceiver's constructor.
Definition: SignalsReceiver.hpp:47
ThreadControlBlock class is a simple description of a Thread.
Definition: ThreadControlBlock.hpp:40
SignalsReceiver class is a container for internal::SignalsReceiverControlBlock.
Definition: SignalsReceiver.hpp:32
SignalsReceiverControlBlock class is a structure required by threads for "receiving" of signals...
Definition: SignalsReceiverControlBlock.hpp:41
distortos configuration
Top-level namespace of distortos project.
SignalsReceiverControlBlock class header.
internal::SignalsReceiverControlBlock signalsReceiverControlBlock_
contained internal::SignalsReceiverControlBlock object
Definition: SignalsReceiver.hpp:57
SignalInformationQueueWrapper class is a container for internal::SignalInformationQueue.
Definition: SignalInformationQueueWrapper.hpp:32
SignalsCatcher class is a container for internal::SignalsCatcherControlBlock.
Definition: SignalsCatcher.hpp:32