fsfw/src/fsfw/tasks/FixedSequenceSlot.cpp
Robin Mueller ddcac2bbac
All checks were successful
fsfw/fsfw/pipeline/pr-development This commit looks good
reapply clang format
2022-02-02 10:29:30 +01:00

19 lines
618 B
C++

#include "fsfw/tasks/FixedSequenceSlot.h"
#include <cstddef>
#include "fsfw/tasks/PeriodicTaskIF.h"
FixedSequenceSlot::FixedSequenceSlot(object_id_t handlerId, uint32_t setTime, int8_t setSequenceId,
ExecutableObjectIF* executableObject,
PeriodicTaskIF* executingTask)
: handlerId(handlerId), pollingTimeMs(setTime), opcode(setSequenceId) {
if (executableObject == nullptr) {
return;
}
this->executableObject = executableObject;
this->executableObject->setTaskIF(executingTask);
}
FixedSequenceSlot::~FixedSequenceSlot() {}