| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | // ====================================================================== | ||
| 2 | // \title Os/Stub/CountingSemaphore.cpp | ||
| 3 | // \brief Stub implementations for Os::CountingSemaphore | ||
| 4 | // ====================================================================== | ||
| 5 | #include "Os/Stub/CountingSemaphore.hpp" | ||
| 6 | #include "Fw/Types/Assert.hpp" | ||
| 7 | |||
| 8 | namespace Os { | ||
| 9 | namespace Stub { | ||
| 10 | namespace Semaphore { | ||
| 11 | |||
| 12 | ✗ | StubCountingSemaphore::StubCountingSemaphore(U32 initial_count) { | |
| 13 | (void)initial_count; | ||
| 14 | ✗ | } | |
| 15 | |||
| 16 | ✗ | StubCountingSemaphore::Status StubCountingSemaphore::wait() { | |
| 17 | ✗ | return StubCountingSemaphore::Status::NOT_SUPPORTED; | |
| 18 | } | ||
| 19 | |||
| 20 | ✗ | StubCountingSemaphore::Status StubCountingSemaphore::waitTimeout(const Fw::TimeInterval& interval) { | |
| 21 | (void)interval; | ||
| 22 | ✗ | return StubCountingSemaphore::Status::NOT_SUPPORTED; | |
| 23 | } | ||
| 24 | |||
| 25 | ✗ | StubCountingSemaphore::Status StubCountingSemaphore::tryWait() { | |
| 26 | ✗ | return StubCountingSemaphore::Status::NOT_SUPPORTED; | |
| 27 | } | ||
| 28 | |||
| 29 | ✗ | StubCountingSemaphore::Status StubCountingSemaphore::post() { | |
| 30 | ✗ | return StubCountingSemaphore::Status::NOT_SUPPORTED; | |
| 31 | } | ||
| 32 | |||
| 33 | ✗ | CountingSemaphoreHandle* StubCountingSemaphore::getHandle() { | |
| 34 | ✗ | return &m_handle; | |
| 35 | } | ||
| 36 | |||
| 37 | } // namespace Semaphore | ||
| 38 | } // namespace Stub | ||
| 39 | } // namespace Os | ||
| 40 |