A class for handling a monitoring operation cycle. More...
#include <operation_cycle.h>
Public Member Functions | |
OperationCycle (const ara::core::InstanceSpecifier &specifier) | |
Constructor. More... | |
ara::core::Result< void > | SetNotifier (std::function< void()> notifier) |
Set a callback to be invoked when the operation cycle is restarted. More... | |
ara::core::Result< void > | RestartOperationCycle () |
Restart the operation cycle. More... | |
A class for handling a monitoring operation cycle.
|
explicit |
Constructor.
specifier | Instance specifier that owns the operation cycle |
ara::core::Result< void > ara::diag::OperationCycle::RestartOperationCycle | ( | ) |
Restart the operation cycle.
ara::core::Result< void > ara::diag::OperationCycle::SetNotifier | ( | std::function< void()> | notifier | ) |
Set a callback to be invoked when the operation cycle is restarted.
notifier | Callback to be invoked after the operation cycle restart |