distortos
v0.7.0
object-oriented C++ RTOS for microcontrollers
|
ThisThread::Signals namespace header. More...
#include "distortos/distortosConfiguration.h"
#include "distortos/SignalInformation.hpp"
#include "distortos/TickClock.hpp"
#include <utility>
#include <cstdint>
Go to the source code of this file.
Namespaces | |
distortos | |
Top-level namespace of distortos project. | |
distortos::ThisThread | |
Functions that can be used to control current thread. | |
distortos::ThisThread::Signals | |
Signals-related functions operating on current thread. | |
Functions | |
int | distortos::ThisThread::Signals::generateSignal (uint8_t signalNumber) |
Generates signal for current thread. More... | |
SignalSet | distortos::ThisThread::Signals::getPendingSignalSet () |
Gets set of currently pending signals for current thread. More... | |
std::pair< int, SignalAction > | distortos::ThisThread::Signals::getSignalAction (uint8_t signalNumber) |
Gets SignalAction associated with given signal number. More... | |
SignalSet | distortos::ThisThread::Signals::getSignalMask () |
Gets signal mask for current thread. More... | |
int | distortos::ThisThread::Signals::queueSignal (uint8_t signalNumber, sigval value) |
Queues signal for current thread. More... | |
std::pair< int, SignalAction > | distortos::ThisThread::Signals::setSignalAction (uint8_t signalNumber, const SignalAction &signalAction) |
Sets association for given signal number. More... | |
int | distortos::ThisThread::Signals::setSignalMask (SignalSet signalMask) |
Sets signal mask for current thread. More... | |
std::pair< int, SignalInformation > | distortos::ThisThread::Signals::tryWait (const SignalSet &signalSet) |
Tries to accept pending signals. More... | |
std::pair< int, SignalInformation > | distortos::ThisThread::Signals::tryWaitFor (const SignalSet &signalSet, TickClock::duration duration) |
Tries to wait for signals for given duration of time. More... | |
template<typename Rep , typename Period > | |
std::pair< int, SignalInformation > | distortos::ThisThread::Signals::tryWaitFor (const SignalSet &signalSet, const std::chrono::duration< Rep, Period > duration) |
Tries to wait for signals for given duration of time. More... | |
std::pair< int, SignalInformation > | distortos::ThisThread::Signals::tryWaitUntil (const SignalSet &signalSet, TickClock::time_point timePoint) |
Tries to wait for signals until given time point. More... | |
template<typename Duration > | |
std::pair< int, SignalInformation > | distortos::ThisThread::Signals::tryWaitUntil (const SignalSet &signalSet, const std::chrono::time_point< TickClock, Duration > timePoint) |
Tries to wait for signals until given time point. More... | |
std::pair< int, SignalInformation > | distortos::ThisThread::Signals::wait (const SignalSet &signalSet) |
Waits for signals. More... | |
ThisThread::Signals namespace header.