Function OpenSoT::operator/(const OpenSoT::AutoStack::Ptr, const OpenSoT::tasks::Aggregated::TaskPtr)

Function Documentation

OpenSoT::AutoStack::Ptr OpenSoT::operator/(const OpenSoT::AutoStack::Ptr stack, const OpenSoT::tasks::Aggregated::TaskPtr task)

operator / creates a new AutoStack that is a copy of an autostack with a new task piled at lowest priority.

NOTICE that the bounds of the original AutoStack are carried over.

Parameters
  • stack – a pointer to an Autostack

  • task – a pointer to a task

Returns

a new Autostack