F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
Mutex.hpp
Go to the documentation of this file.
1
#ifndef _Mutex_hpp_
2
#define _Mutex_hpp_
3
4
#include <
FpConfig.hpp
>
5
6
namespace
Os
{
7
8
class
Mutex
{
9
public
:
10
11
Mutex
();
12
virtual
~Mutex
();
13
14
void
lock
();
15
void
unLock
();
16
void
unlock
() { this->
unLock
(); }
17
18
private
:
19
20
POINTER_CAST
m_handle;
21
};
22
}
23
24
#endif
POINTER_CAST
PlatformPointerCastType POINTER_CAST
Definition
BasicTypes.h:53
FpConfig.hpp
C++-compatible configuration header for fprime configuration.
Os::Mutex
Definition
Mutex.hpp:8
Os::Mutex::~Mutex
virtual ~Mutex()
Destructor.
Definition
Mutex.cpp:11
Os::Mutex::unlock
void unlock()
alias for unLock to meet BasicLockable requirements
Definition
Mutex.hpp:16
Os::Mutex::unLock
void unLock()
unlock the mutex
Definition
Mutex.cpp:13
Os::Mutex::lock
void lock()
lock the mutex
Definition
Mutex.cpp:12
Os::Mutex::Mutex
Mutex()
Constructor. Mutex is unlocked when created.
Definition
Mutex.cpp:7
Os
Definition
File.cpp:6
Os
Mutex.hpp
Generated by
1.9.7