12#ifndef O2_OBJECTSTORE_H
13#define O2_OBJECTSTORE_H
45using ObjectStore = std::variant<std::monostate, TObjectPtr, VectorOfTObjectPtrs, MergeInterfacePtr>;
47namespace object_store_helpers
ObjectStore extractObjectFrom(const framework::DataRef &ref)
Takes a DataRef, deserializes it (if type is supported) and puts into an ObjectStore.
VectorOfRawTObjects toRawObserverPointers(const VectorOfTObjectPtrs &)
Helper function that converts vector of smart pointers to the vector of raw pointers that is serializ...
bool snapshot(framework::DataAllocator &allocator, const header::DataHeader::SubSpecificationType subSpec, const ObjectStore &mergedObject)
Used in FullHistorMerger's and IntegratingMerger's publish function. Checks mergedObject for every st...
std::vector< TObjectPtr > VectorOfTObjectPtrs
std::vector< TObject * > VectorOfRawTObjects
std::shared_ptr< TObject > TObjectPtr
std::shared_ptr< MergeInterface > MergeInterfacePtr
std::variant< std::monostate, TObjectPtr, VectorOfTObjectPtrs, MergeInterfacePtr > ObjectStore
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...