ChimeraTK-ApplicationCore  04.01.00
ChimeraTK::RecoveryHelper Struct Reference

A Helper struct to store an accessor and a version number. More...

#include <RecoveryHelper.h>

Public Member Functions

 RecoveryHelper (boost::shared_ptr< TransferElement > a, VersionNumber v=VersionNumber(nullptr), uint64_t order=0)
 

Public Attributes

boost::shared_ptr< TransferElement > accessor
 
VersionNumber versionNumber
 
uint64_t writeOrder
 
bool wasWritten {false}
 

Detailed Description

A Helper struct to store an accessor and a version number.

Like this you can set the user buffer of the accessors and the version number which shall be used when the accessor is written, but delay the writing do a later point in time.

Definition at line 15 of file RecoveryHelper.h.

Constructor & Destructor Documentation

◆ RecoveryHelper()

ChimeraTK::RecoveryHelper::RecoveryHelper ( boost::shared_ptr< TransferElement >  a,
VersionNumber  v = VersionNumber(nullptr),
uint64_t  order = 0 
)
inlineexplicit

Definition at line 21 of file RecoveryHelper.h.

Member Data Documentation

◆ accessor

boost::shared_ptr<TransferElement> ChimeraTK::RecoveryHelper::accessor

Definition at line 16 of file RecoveryHelper.h.

◆ versionNumber

VersionNumber ChimeraTK::RecoveryHelper::versionNumber

Definition at line 17 of file RecoveryHelper.h.

◆ wasWritten

bool ChimeraTK::RecoveryHelper::wasWritten {false}

Definition at line 19 of file RecoveryHelper.h.

◆ writeOrder

uint64_t ChimeraTK::RecoveryHelper::writeOrder

Definition at line 18 of file RecoveryHelper.h.


The documentation for this struct was generated from the following file: