fsfw/unittest/core/CatchDefinitions.cpp

12 lines
326 B
C++
Raw Normal View History

2020-10-29 15:12:05 +01:00
#include "CatchDefinitions.h"
2020-10-20 17:12:56 +02:00
#include <fsfw/objectmanager/ObjectManagerIF.h>
StorageManagerIF* tglob::getIpcStoreHandle() {
if(objectManager != nullptr) {
return objectManager->get<StorageManagerIF>(objects::IPC_STORE);
} else {
sif::error << "Global object manager uninitialized" << std::endl;
return nullptr;
}
}