Function OpenSoT::operator/(const OpenSoT::tasks::Aggregated::TaskPtr, OpenSoT::AutoStack::Ptr)
Defined in File AutoStack.h
Function Documentation
-
OpenSoT::AutoStack::Ptr OpenSoT::operator/(const OpenSoT::tasks::Aggregated::TaskPtr task, OpenSoT::AutoStack::Ptr stack)
operator / creates a new AutoStack that is a copy of an autostack with a new task piled at highest priority.
NOTICE that the bounds of the original AutoStack are carried over.
- Parameters
task – a pointer to a task
stack – a pointer to an Autostack
- Returns
a new Autostack