Function OpenSoT::operator/(const OpenSoT::AutoStack::Ptr, const OpenSoT::AutoStack::Ptr)
Defined in File AutoStack.h
Function Documentation
-
OpenSoT::AutoStack::Ptr OpenSoT::operator/(const OpenSoT::AutoStack::Ptr stack1, const OpenSoT::AutoStack::Ptr stack2)
operator / creates a new AutoStack that stacks all tasks a of stack1, followed by all tasks of stack2.
That is, the priority of the tasks in stack1 and in stack2 are preserved, and all tasks from stack1 will be of higher priority w.r.t. all tasks in stack2. NOTICE that the bounds of the new AutoStack will be the union of the bounds of stack1 and stack2. (Also NOTICE that the equality test for the bounds is on pointers, so you can have duplicated bounds if you made multiple instances of the same bounds/constraints)
- Parameters
stack1 – a pointer to the first stack
stack2 – a pointer to the second stack
- Returns
a new AutoStack