14 lines
549 B
C++
14 lines
549 B
C++
#include "PayloadSubsystem.h"
|
|
|
|
#include <mission/payload/defs.h>
|
|
|
|
PayloadSubsystem::PayloadSubsystem(object_id_t setObjectId, uint32_t maxNumberOfSequences,
|
|
uint32_t maxNumberOfTables)
|
|
: Subsystem(setObjectId, maxNumberOfSequences, maxNumberOfTables) {}
|
|
|
|
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);
|
|
}
|