distortos  v0.4.0
object-oriented C++ RTOS for microcontrollers
distortos::StaticSignalsReceiver< QueuedSignals, SignalActions > 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, SignalActions >:
[legend]
Collaboration diagram for distortos::StaticSignalsReceiver< QueuedSignals, SignalActions >:
[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...
 
std::array< SignalsCatcher::Storage, SignalActions > signalsCatcherStorage_
 storage for signalsCatcher_ More...
 
SignalsCatcher signalsCatcher_
 internal SignalsCatcher object More...
 

Detailed Description

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

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, 0 to disable queuing of signals for this receiver
SignalActionsis the max number of different SignalAction objects, 0 to disable catching of signals for this receiver

Constructor & Destructor Documentation

◆ StaticSignalsReceiver()

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

StaticSignalsReceiver's constructor.

Member Data Documentation

◆ signalInformationQueueWrapper_

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

◆ signalInformationQueueWrapperStorage_

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

storage for signalInformationQueueWrapper_

◆ signalsCatcher_

template<size_t QueuedSignals, size_t SignalActions>
SignalsCatcher distortos::StaticSignalsReceiver< QueuedSignals, SignalActions >::signalsCatcher_
private

internal SignalsCatcher object

◆ signalsCatcherStorage_

template<size_t QueuedSignals, size_t SignalActions>
std::array<SignalsCatcher::Storage, SignalActions> distortos::StaticSignalsReceiver< QueuedSignals, SignalActions >::signalsCatcherStorage_
private

storage for signalsCatcher_


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