F´ Flight Software - C/C++ Documentation  NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
BareTaskHandle.hpp
Go to the documentation of this file.
1 /*
2  * BareTaskHandle.hpp
3  *
4  * Created on: Feb 28, 2019
5  * Author: lestarch
6  */
7 #ifndef OS_BAREMETAL_TASKRUNNER_BARETASKHANDLE_HPP_
8 #define OS_BAREMETAL_TASKRUNNER_BARETASKHANDLE_HPP_
9 #include <Os/Task.hpp>
10 namespace Os {
15  public:
17  BareTaskHandle() : m_enabled(false), m_priority(0), m_routine(nullptr) {}
19  bool m_enabled;
25  void* m_argument;
26 };
27 }
28 #endif /* OS_BAREMETAL_TASKRUNNER_BARETASKHANDLE_HPP_ */
Os
Definition: File.cpp:7
Os::BareTaskHandle::m_enabled
bool m_enabled
Save the priority.
Definition: BareTaskHandle.hpp:19
Os::BareTaskHandle::m_argument
void * m_argument
Definition: BareTaskHandle.hpp:25
Os::BareTaskHandle::m_priority
NATIVE_INT_TYPE m_priority
Function passed in to the task.
Definition: BareTaskHandle.hpp:21
Task.hpp
Os::BareTaskHandle::m_routine
Task::taskRoutine m_routine
Argument input pointer.
Definition: BareTaskHandle.hpp:23
Os::Task::taskRoutine
void(* taskRoutine)(void *ptr)
prototype for task routine started in task context
Definition: Task.hpp:31
Os::BareTaskHandle
Definition: BareTaskHandle.hpp:14
NATIVE_INT_TYPE
int NATIVE_INT_TYPE
native integer type declaration
Definition: BasicTypes.hpp:29