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
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>
10namespace Os {
15 public:
17 BareTaskHandle() : m_enabled(false), m_priority(0), m_routine(nullptr) {}
26};
27}
28#endif /* OS_BAREMETAL_TASKRUNNER_BARETASKHANDLE_HPP_ */
PlatformIntType NATIVE_INT_TYPE
Definition BasicTypes.h:51
BareTaskHandle()
< Constructor sets enabled to false
bool m_enabled
Save the priority.
Task::taskRoutine m_routine
Argument input pointer.
NATIVE_INT_TYPE m_priority
Function passed into the task.
void(* taskRoutine)(void *ptr)
prototype for task routine started in task context
Definition Task.hpp:30
Definition File.cpp:6