85 bool enqueued =
false;
86 int32_t prevTarget = this->
system->state;
89 int32_t lower = prevTarget;
91 if (upper < lower)
std::swap(lower, upper);
92 if (_target >= lower && _target < upper)
104 ss <<
"The elevator enqueued target " << _target <<
" [ ";
105 for (
const auto &target : this->
targets) ss << target <<
" ";