![]() |
Project
|
Classes | |
struct | Snapshoter |
struct | Snapshoter< VectorOfTObjectPtrs > |
Functions | |
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 serializable. Make sure that original vector lives longer than the observer vector to avoid undefined behavior. | |
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 state that is NOT monostate and creates snapshot of underlying object to the framework. | |
void * | readObject (const TClass *type, o2::framework::FairInputTBuffer &ftm) |
MergeInterface * | castToMergeInterface (bool inheritsFromTObject, void *object, TClass *storedClass) |
std::optional< ObjectStore > | extractVector (o2::framework::FairInputTBuffer &ftm, const TClass *storedClass) |
MergeInterface * o2::mergers::object_store_helpers::castToMergeInterface | ( | bool | inheritsFromTObject, |
void * | object, | ||
TClass * | storedClass | ||
) |
Definition at line 52 of file ObjectStore.cxx.
ObjectStore o2::mergers::object_store_helpers::extractObjectFrom | ( | const framework::DataRef & | ref | ) |
Takes a DataRef, deserializes it (if type is supported) and puts into an ObjectStore.
Definition at line 76 of file ObjectStore.cxx.
std::optional< ObjectStore > o2::mergers::object_store_helpers::extractVector | ( | o2::framework::FairInputTBuffer & | ftm, |
const TClass * | storedClass | ||
) |
Definition at line 63 of file ObjectStore.cxx.
void * o2::mergers::object_store_helpers::readObject | ( | const TClass * | type, |
o2::framework::FairInputTBuffer & | ftm | ||
) |
Definition at line 41 of file ObjectStore.cxx.
bool o2::mergers::object_store_helpers::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 state that is NOT monostate and creates snapshot of underlying object to the framework.
Definition at line 163 of file ObjectStore.cxx.
VectorOfRawTObjects o2::mergers::object_store_helpers::toRawObserverPointers | ( | const VectorOfTObjectPtrs & | vector | ) |
Helper function that converts vector of smart pointers to the vector of raw pointers that is serializable. Make sure that original vector lives longer than the observer vector to avoid undefined behavior.
Definition at line 122 of file ObjectStore.cxx.