fsfw/unittest/user/unittest/core/CatchDefinitions.cpp

14 lines
362 B
C++
Raw Normal View History

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