F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
ConditionVariableUserInterface.hpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title Os/Interfaces/ConditionVariableUserInterface.hpp
3
// \brief types shared by Os::ConditionVariable users and implementations
4
//
5
// Includes no other Os service header, so both Os/Condition.hpp and the Os::ConditionVariable implementations may
6
// include it.
7
// ======================================================================
8
#ifndef OS_INTERFACES_CONDITIONVARIABLEUSERINTERFACE_HPP_
9
#define OS_INTERFACES_CONDITIONVARIABLEUSERINTERFACE_HPP_
10
11
#include <
Fw/Types/Assert.hpp
>
12
#include <
Os/Os.hpp
>
13
14
namespace
Os
{
15
17
class
ConditionVariableHandle
{};
18
20
struct
ConditionVariableUserInterface
{
21
enum
Status
{
22
OP_OK
,
23
ERROR_MUTEX_NOT_HELD
,
24
ERROR_DIFFERENT_MUTEX
,
25
ERROR_NOT_IMPLEMENTED
,
26
NOT_SUPPORTED
,
27
ERROR_OTHER
28
};
29
};
30
31
}
// namespace Os
32
33
#endif // OS_INTERFACES_CONDITIONVARIABLEUSERINTERFACE_HPP_
Os::ConditionVariableUserInterface::Status
Status
Definition:
ConditionVariableUserInterface.hpp:21
Os::ConditionVariableUserInterface::ERROR_OTHER
All other errors.
Definition:
ConditionVariableUserInterface.hpp:27
Os
Definition:
LocklessQueueCfg.hpp:16
Assert.hpp
Os::ConditionVariableUserInterface::OP_OK
Operation was successful.
Definition:
ConditionVariableUserInterface.hpp:22
Os::ConditionVariableUserInterface::ERROR_DIFFERENT_MUTEX
When trying to use a different mutex than expected mutex.
Definition:
ConditionVariableUserInterface.hpp:24
Os::ConditionVariableUserInterface
types shared by Os::ConditionVariable users and implementations
Definition:
ConditionVariableUserInterface.hpp:20
Os.hpp
Os::ConditionVariableUserInterface::NOT_SUPPORTED
ConditionVariable does not support operation.
Definition:
ConditionVariableUserInterface.hpp:26
Os::ConditionVariableHandle
Condition variable handle parent.
Definition:
ConditionVariableUserInterface.hpp:17
Os::ConditionVariableUserInterface::ERROR_MUTEX_NOT_HELD
When trying to wait but we don't hold the mutex.
Definition:
ConditionVariableUserInterface.hpp:23
Os::ConditionVariableUserInterface::ERROR_NOT_IMPLEMENTED
When trying to use a feature that isn't implemented.
Definition:
ConditionVariableUserInterface.hpp:25
Os
Interfaces
ConditionVariableUserInterface.hpp
Generated by
1.8.14