![]() |
ATLAS Offline Software
|
Helper to read data from a RCUObject.
More...
#include <RCUObject.h>
Public Member Functions | |
| RCUReadQuiesce (RCUObject< T > &rcuobj) | |
| Constructor. | |
| RCUReadQuiesce (RCUObject< T > &rcuobj, const EventContext &ctx) | |
| Constructor. | |
| RCUReadQuiesce (RCUObject< T > &rcuobj, const EventContext &&ctx)=delete | |
| ~RCUReadQuiesce () | |
| Destructor. | |
| operator bool () const | |
| const T & | operator* () const |
| Access data. | |
| const T * | operator-> () const |
| Access data. | |
Private Attributes | |
| RCUObject< T > & | m_rcuobj |
| The RCUObject we're referencing. | |
| const EventContext & | m_ctx |
| The current event context. | |
| const T * | m_obj |
| The data object we're reading. | |
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 510 of file RCUObject.h.
| Athena::RCUReadQuiesce< T >::RCUReadQuiesce | ( | RCUObject< T > & | rcuobj | ) |
Constructor.
| rcuobj | The RCUObject we're reading. |
This version will read the global event context.
| Athena::RCUReadQuiesce< T >::RCUReadQuiesce | ( | RCUObject< T > & | rcuobj, |
| const EventContext & | ctx ) |
Constructor.
| rcuobj | The RCUObject we're reading. |
| ctx | The event context (must not be a temporary). |
|
delete |
| Athena::RCUReadQuiesce< T >::~RCUReadQuiesce | ( | ) |
Destructor.
Mark this event slot quiescent.
|
inlineinherited |
Definition at line 481 of file RCUObject.h.
|
inherited |
Access data.
|
inherited |
Access data.
|
private |
The current event context.
Definition at line 545 of file RCUObject.h.
|
privateinherited |
The data object we're reading.
Definition at line 498 of file RCUObject.h.
|
private |
The RCUObject we're referencing.
Definition at line 542 of file RCUObject.h.