![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Posix implementation of Os::ConditionVariable. More...
#include <Os/Posix/ConditionVariable.hpp>
Public Member Functions | |
PosixConditionVariable () | |
constructor More... | |
~PosixConditionVariable () override | |
destructor More... | |
ConditionVariableInterface & | operator= (const ConditionVariableInterface &other) override=delete |
assignment operator is forbidden More... | |
PosixConditionVariable::Status | pend (Os::Mutex &mutex) override |
wait releasing mutex More... | |
void | notify () override |
notify a single waiter More... | |
void | notifyAll () override |
notify all current waiters More... | |
ConditionVariableHandle * | getHandle () override |
get handle More... | |
![]() | |
ConditionVariableInterface ()=default | |
Default constructor. More... | |
virtual | ~ConditionVariableInterface ()=default |
Default destructor. More... | |
ConditionVariableInterface (const ConditionVariableInterface &other)=delete | |
copy constructor is forbidden More... | |
Additional Inherited Members | |
![]() | |
enum | Status { OP_OK, ERROR_MUTEX_NOT_HELD, ERROR_DIFFERENT_MUTEX, ERROR_NOT_IMPLEMENTED, NOT_SUPPORTED, ERROR_OTHER } |
![]() | |
static ConditionVariableInterface * | getDelegate (ConditionVariableHandleStorage &aligned_new_memory) |
provide a pointer to a Mutex delegate object More... | |
Posix implementation of Os::ConditionVariable.
Posix implementation of ConditionVariable
for use as a delegate class handling error-only file operations.
Definition at line 22 of file ConditionVariable.hpp.
Os::Posix::Mutex::PosixConditionVariable::PosixConditionVariable | ( | ) |
constructor
Definition at line 14 of file ConditionVariable.cpp.
|
override |
destructor
Definition at line 18 of file ConditionVariable.cpp.
|
overridevirtual |
get handle
Implements Os::ConditionVariableInterface.
Definition at line 34 of file ConditionVariable.cpp.
|
overridevirtual |
notify a single waiter
Implements Os::ConditionVariableInterface.
Definition at line 27 of file ConditionVariable.cpp.
|
overridevirtual |
notify all current waiters
Implements Os::ConditionVariableInterface.
Definition at line 30 of file ConditionVariable.cpp.
|
overridevirtualdelete |
assignment operator is forbidden
Reimplemented from Os::ConditionVariableInterface.
|
overridevirtual |
wait releasing mutex
Implements Os::ConditionVariableInterface.
Definition at line 22 of file ConditionVariable.cpp.