APM:Libraries
libraries
AP_HAL_Empty
Semaphores.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
AP_HAL_Empty.h
"
4
5
class
Empty::Semaphore
:
public
AP_HAL::Semaphore
{
6
public
:
7
Semaphore
() :
_taken
(false) {}
8
bool
give
();
9
bool
take
(uint32_t timeout_ms);
10
bool
take_nonblocking
();
11
private
:
12
bool
_taken
;
13
};
Empty::Semaphore::take_nonblocking
bool take_nonblocking()
Definition:
Semaphores.cpp:19
Empty::Semaphore
Definition:
Semaphores.h:5
Empty::Semaphore::take
bool take(uint32_t timeout_ms)
Definition:
Semaphores.cpp:15
AP_HAL::Semaphore
Definition:
Semaphores.h:7
Empty::Semaphore::Semaphore
Semaphore()
Definition:
Semaphores.h:7
AP_HAL_Empty.h
Empty::Semaphore::give
bool give()
Definition:
Semaphores.cpp:6
Empty::Semaphore::_taken
bool _taken
Definition:
Semaphores.h:12
Generated on Sun Jun 17 2018 14:18:48 for APM:Libraries by
1.8.13