F´ Flight Software - C/C++ Documentation  NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
InterruptLock.hpp
Go to the documentation of this file.
1 #ifndef _InterruptLock_hpp_
2 #define _InterruptLock_hpp_
3 
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
Os
Definition: File.cpp:7
Os::InterruptLock::getKey
POINTER_CAST getKey()
get the key, if used
Os::InterruptLock
Definition: InterruptLock.hpp:7
Os::InterruptLock::InterruptLock
InterruptLock()
Constructor.
Definition: InterruptLock.cpp:7
Os::InterruptLock::lock
void lock()
lock interrupts
Definition: InterruptLock.cpp:10
BasicTypes.hpp
Declares ISF basic types.
Os::InterruptLock::~InterruptLock
virtual ~InterruptLock()
destructor
Definition: InterruptLock.cpp:8
Os::InterruptLock::unLock
void unLock()
unlock interrupts
Definition: InterruptLock.cpp:14