ATLAS Offline Software
Loading...
Searching...
No Matches
Athena::RCURead< T > Class Template Reference

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

#include <RCUObject.h>

Inheritance diagram for Athena::RCURead< T >:
Collaboration diagram for Athena::RCURead< T >:

Public Member Functions

 RCURead (const RCUObject< T > &rcuobj)
 Constructor.
 operator bool () const
const T & operator* () const
 Access data.
const T * operator-> () const
 Access data.

Private Attributes

const T * m_obj
 The data object we're reading.

Detailed Description

template<class T>
class Athena::RCURead< T >

Helper to read data from a RCUObject.

See the header comments for details.

Definition at line 471 of file RCUObject.h.

Constructor & Destructor Documentation

◆ RCURead()

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

Constructor.

Parameters
rcuobjThe RCUObject we're reading.

Member Function Documentation

◆ operator bool()

template<class T>
Athena::RCURead< T >::operator bool ( ) const
inline

Definition at line 481 of file RCUObject.h.

481{ return m_obj != nullptr; }
const T * m_obj
The data object we're reading.
Definition RCUObject.h:498

◆ operator*()

template<class T>
const T & Athena::RCURead< T >::operator* ( ) const

Access data.

◆ operator->()

template<class T>
const T * Athena::RCURead< T >::operator-> ( ) const

Access data.

Member Data Documentation

◆ m_obj

template<class T>
const T* Athena::RCURead< T >::m_obj
private

The data object we're reading.

Definition at line 498 of file RCUObject.h.


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