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

Detailed Description

template<size_t SignalActions>
class distortos::StaticSignalsReceiver< 0, 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
SignalActionsis the max number of different SignalAction objects

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

Constructor & Destructor Documentation

◆ StaticSignalsReceiver()

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

StaticSignalsReceiver's constructor.

Member Data Documentation

◆ signalsCatcher_

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

internal SignalsCatcher object

◆ signalsCatcherStorage_

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

storage for signalsCatcher_


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