F´ Flight Software - C/C++ Documentation  NASA-v1.5.0
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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(void);
11  virtual ~InterruptLock(void);
12 
13  void lock(void);
14  void unLock(void);
15 
16  POINTER_CAST getKey(void);
17  private:
18 
19  POINTER_CAST m_key;
20  };
21 }
22 
23 #endif
Os
Definition: File.cpp:7
Os::InterruptLock::unLock
void unLock(void)
unlock interrupts
Definition: InterruptLock.cpp:14
Os::InterruptLock
Definition: InterruptLock.hpp:7
Os::InterruptLock::lock
void lock(void)
lock interrupts
Definition: InterruptLock.cpp:10
Os::InterruptLock::~InterruptLock
virtual ~InterruptLock(void)
destructor
Definition: InterruptLock.cpp:8
Os::InterruptLock::getKey
POINTER_CAST getKey(void)
get the key, if used
BasicTypes.hpp
Declares ISF basic types.
Os::InterruptLock::InterruptLock
InterruptLock(void)
Constructor.
Definition: InterruptLock.cpp:7