 |
F´ Flight Software - C/C++ Documentation
NASA-v2.0.1
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*);
43 static void s_baseBareTask(
void*);
Os::Task m_task
task object for active component
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
void init(void)
Object initializer.
ActiveComponentBase(const char *name)
Constructor.
virtual void finalizer(void)
A function that will be called after exiting the loop.
virtual ~ActiveComponentBase()
Destructor.
@ ACTIVE_COMPONENT_EXIT
message to exit active component task
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.