eive-obsw/mission/system/objects/PayloadSubsystem.cpp

14 lines
548 B
C++
Raw Normal View History

#include "PayloadSubsystem.h"
2022-04-14 09:54:07 +02:00
2023-03-14 11:21:37 +01:00
#include "mission/payloadDefs.h"
2022-09-29 19:40:00 +02:00
PayloadSubsystem::PayloadSubsystem(object_id_t setObjectId, uint32_t maxNumberOfSequences,
uint32_t maxNumberOfTables)
: Subsystem(setObjectId, maxNumberOfSequences, maxNumberOfTables) {}
2023-03-14 11:21:37 +01:00
void PayloadSubsystem::announceMode(bool recursive) {
const char* modeStr = payload::getModeStr(static_cast<payload::Mode>(mode));
sif::info << "PAYLOAD subsystem is now in " << modeStr << " mode" << std::endl;
Subsystem::announceMode(recursive);
}