distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
distortos::StaticSignalsReceiver< QueuedSignals, 0 > Class Template Reference

StaticSignalsReceiver class is a templated interface for SignalsReceiver that has automatic storage for queued signals and SignalAction associations required for catching signals. More...

#include <StaticSignalsReceiver.hpp>

Inheritance diagram for distortos::StaticSignalsReceiver< QueuedSignals, 0 >:
[legend]
Collaboration diagram for distortos::StaticSignalsReceiver< QueuedSignals, 0 >:
[legend]

Public Member Functions

 StaticSignalsReceiver ()
 StaticSignalsReceiver's constructor. More...
 
- Public Member Functions inherited from distortos::SignalsReceiver
 SignalsReceiver (SignalInformationQueueWrapper *const signalInformationQueueWrapper, SignalsCatcher *const signalsCatcher)
 SignalsReceiver's constructor. More...
 

Private Attributes

std::array< SignalInformationQueueWrapper::Storage, QueuedSignals > signalInformationQueueWrapperStorage_
 storage for signalInformationQueueWrapper_ More...
 
SignalInformationQueueWrapper signalInformationQueueWrapper_
 internal SignalInformationQueueWrapper object More...
 

Detailed Description

template<size_t QueuedSignals>
class distortos::StaticSignalsReceiver< QueuedSignals, 0 >

StaticSignalsReceiver class is a templated interface for SignalsReceiver that has automatic storage for queued signals and SignalAction associations required for catching signals.

Template Parameters
QueuedSignalsis the max number of queued signals

Specialization for receiver with enabled queuing (QueuedSignals != 0) and disabled catching (SignalActions == 0) of signals

Constructor & Destructor Documentation

◆ StaticSignalsReceiver()

template<size_t QueuedSignals>
distortos::StaticSignalsReceiver< QueuedSignals, 0 >::StaticSignalsReceiver ( )
inline

StaticSignalsReceiver's constructor.

Member Data Documentation

◆ signalInformationQueueWrapper_

template<size_t QueuedSignals>
SignalInformationQueueWrapper distortos::StaticSignalsReceiver< QueuedSignals, 0 >::signalInformationQueueWrapper_
private

◆ signalInformationQueueWrapperStorage_

template<size_t QueuedSignals>
std::array<SignalInformationQueueWrapper::Storage, QueuedSignals> distortos::StaticSignalsReceiver< QueuedSignals, 0 >::signalInformationQueueWrapperStorage_
private

storage for signalInformationQueueWrapper_


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