F´ Flight Software - C/C++ Documentation
NASA-v1.5.0
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
11 #ifndef FW_ACTIVE_COMPONENT_BASE_HPP
12 #define FW_ACTIVE_COMPONENT_BASE_HPP
35 virtual void loop(
void);
38 #if FW_OBJECT_TO_STRING == 1
42 static void s_baseTask(
void*);
static void s_baseBareTask(void *)
function provided to task class for new thread.
Os::Task m_task
task object for active component
#define PRIVATE
overridable private for unit testing
Os::Task::TaskStatus join(void **value_ptr)
provide return value of thread if value_ptr is not NULL
virtual void preamble(void)
A function that will be called before the event loop is entered.
void start(NATIVE_INT_TYPE identifier, NATIVE_INT_TYPE priority, NATIVE_INT_TYPE stackSize, NATIVE_INT_TYPE cpuAffinity=-1)
called by instantiator when task is to be started
#define PROTECTED
overridable protected for unit testing
void init(void)
Object initializer.
@ ACTIVE_COMPONENT_EXIT
message to exit active component task
virtual void finalizer(void)
A function that will be called after exiting the loop.
virtual ~ActiveComponentBase()
Destructor.
void exit(void)
exit task in active component
int NATIVE_INT_TYPE
native integer type declaration
virtual void loop(void)
The function that will loop dispatching messages.