Skip to content

iox::popo::ConditionVariableData🔗

Public Functions🔗

Name
ConditionVariableData()
ConditionVariableData(const RuntimeName_t & runtimeName)
ConditionVariableData(const ConditionVariableData & rhs)
ConditionVariableData(ConditionVariableData && rhs)
ConditionVariableData & operator=(const ConditionVariableData & rhs)
ConditionVariableData & operator=(ConditionVariableData && rhs)
~ConditionVariableData() =default

Public Attributes🔗

Name
posix::Semaphore m_semaphore
RuntimeName_t m_runtimeName
std::atomic_bool m_toBeDestroyed
std::atomic_bool m_activeNotifications

Public Functions Documentation🔗

function ConditionVariableData🔗

ConditionVariableData()

function ConditionVariableData🔗

ConditionVariableData(
    const RuntimeName_t & runtimeName
)

function ConditionVariableData🔗

ConditionVariableData(
    const ConditionVariableData & rhs
)

function ConditionVariableData🔗

ConditionVariableData(
    ConditionVariableData && rhs
)

function operator=🔗

ConditionVariableData & operator=(
    const ConditionVariableData & rhs
)

function operator=🔗

ConditionVariableData & operator=(
    ConditionVariableData && rhs
)

function ~ConditionVariableData🔗

~ConditionVariableData() =default

Public Attributes Documentation🔗

variable m_semaphore🔗

posix::Semaphore m_semaphore =
        std::move(posix::Semaphore::create(posix::CreateUnnamedSharedMemorySemaphore, 0u)
                      .or_else([](posix::SemaphoreError&) {
                          errorHandler(Error::kPOPO__CONDITION_VARIABLE_DATA_FAILED_TO_CREATE_SEMAPHORE,
                                       nullptr,
                                       ErrorLevel::FATAL);
                      })
                      .value());

variable m_runtimeName🔗

RuntimeName_t m_runtimeName;

variable m_toBeDestroyed🔗

std::atomic_bool m_toBeDestroyed {false};

variable m_activeNotifications🔗

std::atomic_bool m_activeNotifications;

Updated on 31 May 2022 at 15:29:16 CEST