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