ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
HLT::HLTResultMTByteStreamCnv::Cache Struct Reference

Cache tracking memory allocation for serialised stream tag data and ROBFragment objects. More...

Collaboration diagram for HLT::HLTResultMTByteStreamCnv::Cache:

Public Member Functions

 ~Cache ()
 
void clear ()
 

Public Attributes

std::unique_ptr< uint32_t[]> streamTagData
 
std::vector< std::unique_ptr< OFFLINE_FRAGMENTS_NAMESPACE_WRITE::ROBFragment > > robFragments
 

Detailed Description

Cache tracking memory allocation for serialised stream tag data and ROBFragment objects.

All other serialised data is owned by HLTResultMT owned by the event store.

Definition at line 51 of file HLTResultMTByteStreamCnv.h.

Constructor & Destructor Documentation

◆ ~Cache()

HLT::HLTResultMTByteStreamCnv::Cache::~Cache ( )
inline

Definition at line 54 of file HLTResultMTByteStreamCnv.h.

54 {clear();}

Member Function Documentation

◆ clear()

void HLT::HLTResultMTByteStreamCnv::Cache::clear ( )
inline

Definition at line 55 of file HLTResultMTByteStreamCnv.h.

55  {
56  streamTagData.reset();
57  for (auto& ptr : robFragments) ptr.reset();
58  robFragments.clear();
59  }

Member Data Documentation

◆ robFragments

std::vector<std::unique_ptr<OFFLINE_FRAGMENTS_NAMESPACE_WRITE::ROBFragment> > HLT::HLTResultMTByteStreamCnv::Cache::robFragments

Definition at line 53 of file HLTResultMTByteStreamCnv.h.

◆ streamTagData

std::unique_ptr<uint32_t[]> HLT::HLTResultMTByteStreamCnv::Cache::streamTagData

Definition at line 52 of file HLTResultMTByteStreamCnv.h.


The documentation for this struct was generated from the following file:
dbg::ptr
void * ptr(T *p)
Definition: SGImplSvc.cxx:74
HLT::HLTResultMTByteStreamCnv::Cache::robFragments
std::vector< std::unique_ptr< OFFLINE_FRAGMENTS_NAMESPACE_WRITE::ROBFragment > > robFragments
Definition: HLTResultMTByteStreamCnv.h:53
HLT::HLTResultMTByteStreamCnv::Cache::streamTagData
std::unique_ptr< uint32_t[]> streamTagData
Definition: HLTResultMTByteStreamCnv.h:52
HLT::HLTResultMTByteStreamCnv::Cache::clear
void clear()
Definition: HLTResultMTByteStreamCnv.h:55