F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
CountingSemaphoreUserInterface.hpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title Os/Interfaces/CountingSemaphoreUserInterface.hpp
3
// \brief types shared by Os::CountingSemaphore users and implementations
4
//
5
// Includes no other Os service header, so both Os/CountingSemaphore.hpp and the Os::CountingSemaphore implementations
6
// may include it.
7
// ======================================================================
8
#ifndef OS_INTERFACES_COUNTINGSEMAPHOREUSERINTERFACE_HPP_
9
#define OS_INTERFACES_COUNTINGSEMAPHOREUSERINTERFACE_HPP_
10
11
#include <
Fw/Time/TimeInterval.hpp
>
12
#include <
Fw/Types/Assert.hpp
>
13
#include <
Os/Os.hpp
>
14
15
namespace
Os
{
16
17
class
CountingSemaphoreHandle
{};
18
20
struct
CountingSemaphoreUserInterface
{
21
enum
Status
{
22
OP_OK
,
23
ERROR_TIMEOUT
,
24
ERROR_INVALID
,
25
ERROR_NOT_IMPLEMENTED
,
26
NOT_SUPPORTED
,
27
ERROR_OTHER
28
};
29
};
30
31
}
// namespace Os
32
33
#endif // OS_INTERFACES_COUNTINGSEMAPHOREUSERINTERFACE_HPP_
Os::CountingSemaphoreUserInterface::ERROR_INVALID
Invalid semaphore or argument.
Definition:
CountingSemaphoreUserInterface.hpp:24
Os::CountingSemaphoreUserInterface::NOT_SUPPORTED
CountingSemaphore does not support operation.
Definition:
CountingSemaphoreUserInterface.hpp:26
Os::CountingSemaphoreUserInterface::Status
Status
Definition:
CountingSemaphoreUserInterface.hpp:21
Os::CountingSemaphoreUserInterface::ERROR_NOT_IMPLEMENTED
Feature not implemented.
Definition:
CountingSemaphoreUserInterface.hpp:25
Os
Definition:
LocklessQueueCfg.hpp:16
Assert.hpp
Os::CountingSemaphoreUserInterface
types and constants shared by users of Os::CountingSemaphore and by its implementations ...
Definition:
CountingSemaphoreUserInterface.hpp:20
Os.hpp
Os::CountingSemaphoreHandle
Definition:
CountingSemaphoreUserInterface.hpp:17
Os::CountingSemaphoreUserInterface::OP_OK
Operation was successful.
Definition:
CountingSemaphoreUserInterface.hpp:22
TimeInterval.hpp
Os::CountingSemaphoreUserInterface::ERROR_TIMEOUT
Timeout occurred during wait.
Definition:
CountingSemaphoreUserInterface.hpp:23
Os::CountingSemaphoreUserInterface::ERROR_OTHER
All other errors.
Definition:
CountingSemaphoreUserInterface.hpp:27
Os
Interfaces
CountingSemaphoreUserInterface.hpp
Generated by
1.8.14