adapnex::core::Task::TearDown

The TearDown method is called once during the shutdown phase of the application, after the final update cycle has completed. Tasks generally use this to drive outputs to a safe state, while drivers use it to flush those final values and release any peripherals or devices. The TearDown methods are called in reverse order relative to Setup(), so that a driver added before the tasks consuming its inputs and outputs tears down after them. See Application::Stop().

Synopsis

Declared in <adapnex/core/task.h>

virtual
void
TearDown();

Description

TearDown() is called on the same thread as Update().

Created with MrDocs