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 {
|
2021-01-03 14:16:52 +01:00
|
|
|
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
2020-10-20 17:11:23 +02:00
|
|
|
sif::error << "Global object manager uninitialized" << std::endl;
|
2021-01-03 13:58:18 +01:00
|
|
|
#endif
|
2020-10-20 17:11:23 +02:00
|
|
|
return nullptr;
|
|
|
|
}
|
|
|
|
}
|