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
InterruptLock.hpp
Go to the documentation of this file.
1
#ifndef _InterruptLock_hpp_
2
#define _InterruptLock_hpp_
3
4
#include <
FpConfig.hpp
>
5
6
namespace
Os
{
7
class
InterruptLock
{
8
public
:
9
10
InterruptLock
();
11
virtual
~InterruptLock
();
12
13
void
lock
();
14
void
unLock
();
15
16
POINTER_CAST
getKey
();
17
private
:
18
19
POINTER_CAST
m_key;
20
};
21
}
22
23
#endif
POINTER_CAST
PlatformPointerCastType POINTER_CAST
Definition
BasicTypes.h:53
FpConfig.hpp
C++-compatible configuration header for fprime configuration.
Os::InterruptLock
Definition
InterruptLock.hpp:7
Os::InterruptLock::InterruptLock
InterruptLock()
Constructor.
Definition
InterruptLock.cpp:7
Os::InterruptLock::getKey
POINTER_CAST getKey()
get the key, if used
Os::InterruptLock::unLock
void unLock()
unlock interrupts
Definition
InterruptLock.cpp:14
Os::InterruptLock::lock
void lock()
lock interrupts
Definition
InterruptLock.cpp:10
Os::InterruptLock::~InterruptLock
virtual ~InterruptLock()
destructor
Definition
InterruptLock.cpp:8
Os
Definition
File.cpp:6
Os
InterruptLock.hpp
Generated by
1.9.7