F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Mutex.hpp
Go to the documentation of this file.
1
#ifndef _Mutex_hpp_
2
#define _Mutex_hpp_
3
4
#include <Fw/Types/BasicTypes.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
Os
Definition:
File.cpp:7
Os::Mutex::Mutex
Mutex()
Constructor. Mutex is unlocked when created.
Definition:
Mutex.cpp:7
Os::Mutex::lock
void lock()
lock the mutex
Definition:
Mutex.cpp:12
Os::Mutex
Definition:
Mutex.hpp:8
Os::Mutex::~Mutex
virtual ~Mutex()
Destructor.
Definition:
Mutex.cpp:11
Os::Mutex::unLock
void unLock()
unlock the mutex
Definition:
Mutex.cpp:13
Os
Mutex.hpp
Generated by
1.8.17