ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
Athena::RCUReadQuiesce< T > Class Template Reference

Helper to read data from a RCUObject. More...

#include <RCUObject.h>

Collaboration diagram for Athena::RCUReadQuiesce< T >:

Public Member Functions

 RCUReadQuiesce (RCUObject< T > &rcuobj)
 Constructor. More...
 
 RCUReadQuiesce (RCUObject< T > &rcuobj, const EventContext &ctx)
 Constructor. More...
 
 RCUReadQuiesce (RCUObject< T > &rcuobj, const EventContext &&ctx)=delete
 
 ~RCUReadQuiesce ()
 Destructor. More...
 

Private Attributes

RCUObject< T > & m_rcuobj
 The RCUObject we're referencing. More...
 
const EventContext & m_ctx
 The current event context. More...
 

Detailed Description

template<class T>
class Athena::RCUReadQuiesce< T >

Helper to read data from a RCUObject.

When this object is deleted, the RCUObject is declared quiescent for this event slot.

See the header comments for details.

Definition at line 137 of file RCUObject.h.

Constructor & Destructor Documentation

◆ RCUReadQuiesce() [1/3]

template<class T >
Athena::RCUReadQuiesce< T >::RCUReadQuiesce ( RCUObject< T > &  rcuobj)

Constructor.

Parameters
rcuobjThe RCUObject we're reading.

This version will read the global event context.

◆ RCUReadQuiesce() [2/3]

template<class T >
Athena::RCUReadQuiesce< T >::RCUReadQuiesce ( RCUObject< T > &  rcuobj,
const EventContext &  ctx 
)

Constructor.

Parameters
rcuobjThe RCUObject we're reading.
ctxThe event context (must not be a temporary).

◆ RCUReadQuiesce() [3/3]

template<class T >
Athena::RCUReadQuiesce< T >::RCUReadQuiesce ( RCUObject< T > &  rcuobj,
const EventContext &&  ctx 
)
delete

◆ ~RCUReadQuiesce()

template<class T >
Athena::RCUReadQuiesce< T >::~RCUReadQuiesce ( )

Destructor.

Mark this event slot quiescent.

Member Data Documentation

◆ m_ctx

template<class T >
const EventContext& Athena::RCUReadQuiesce< T >::m_ctx
private

The current event context.

Definition at line 555 of file RCUObject.h.

◆ m_rcuobj

template<class T >
RCUObject<T>& Athena::RCUReadQuiesce< T >::m_rcuobj
private

The RCUObject we're referencing.

Definition at line 552 of file RCUObject.h.


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