iox::popo::ConditionNotifier🔗
ConditionNotifier can notifiy waiting threads and processes using a shared memory condition variable.
#include <condition_notifier.hpp>
Public Functions🔗
Name | |
---|---|
ConditionNotifier(ConditionVariableData & condVarDataRef, const uint64_t index) | |
ConditionNotifier(const ConditionNotifier & rhs) | |
ConditionNotifier(ConditionNotifier && rhs) | |
ConditionNotifier & | operator=(const ConditionNotifier & rhs) |
ConditionNotifier & | operator=(ConditionNotifier && rhs) |
~ConditionNotifier() =default | |
void | notify() If threads are waiting on the condition variable, this call unblocks one of the waiting threads. |
Protected Functions🔗
Name | |
---|---|
const ConditionVariableData * | getMembers() const |
ConditionVariableData * | getMembers() |
Public Attributes🔗
Name | |
---|---|
constexpr uint64_t | INVALID_NOTIFICATION_INDEX |
Public Functions Documentation🔗
function ConditionNotifier🔗
ConditionNotifier(
ConditionVariableData & condVarDataRef,
const uint64_t index
)
function ConditionNotifier🔗
ConditionNotifier(
const ConditionNotifier & rhs
)
function ConditionNotifier🔗
ConditionNotifier(
ConditionNotifier && rhs
)
function operator=🔗
ConditionNotifier & operator=(
const ConditionNotifier & rhs
)
function operator=🔗
ConditionNotifier & operator=(
ConditionNotifier && rhs
)
function ~ConditionNotifier🔗
~ConditionNotifier() =default
function notify🔗
void notify()
If threads are waiting on the condition variable, this call unblocks one of the waiting threads.
Protected Functions Documentation🔗
function getMembers🔗
const ConditionVariableData * getMembers() const
function getMembers🔗
ConditionVariableData * getMembers()
Public Attributes Documentation🔗
variable INVALID_NOTIFICATION_INDEX🔗
static constexpr uint64_t INVALID_NOTIFICATION_INDEX = std::numeric_limits<uint64_t>::max();
Updated on 31 May 2022 at 15:29:16 CEST