Function OpenSoT::operator<<(OpenSoT::tasks::Aggregated::TaskPtr, const OpenSoT::tasks::Aggregated::TaskPtr)

Function Documentation

OpenSoT::tasks::Aggregated::TaskPtr OpenSoT::operator<<(OpenSoT::tasks::Aggregated::TaskPtr task, const OpenSoT::tasks::Aggregated::TaskPtr constraint)

operator << adds a new tasks as a constraint to the task specified

Parameters
  • task – a pointer to the task

  • constraint – a pointer to the constraint defined as a task

Returns

a pointer to the same input task, with a constraint added (NOTICE the task is NOT a copy, it’s the input task to which we added a new constraint)