ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
RCU::Check::TestInvariant Struct Reference

#include <Assert.h>

Collaboration diagram for RCU::Check::TestInvariant:

Public Member Functions

 TestInvariant (TestInvariantFunction function, const void *object)
 availability: experts only description: this class will perform an invariant test as the object goes in and out of scope. More...
 
 ~TestInvariant ()
 

Private Attributes

TestInvariantFunction m_function
 
const void * m_object
 

Detailed Description

Definition at line 107 of file Assert.h.

Constructor & Destructor Documentation

◆ TestInvariant()

RCU::Check::TestInvariant::TestInvariant ( TestInvariantFunction  function,
const void *  object 
)

availability: experts only description: this class will perform an invariant test as the object goes in and out of scope.

Definition at line 91 of file Assert.cxx.

94  : m_function (function), m_object (object)
95  {
96  (*m_function) (m_object);
97  }

◆ ~TestInvariant()

RCU::Check::TestInvariant::~TestInvariant ( )

Definition at line 101 of file Assert.cxx.

103  {
104  (*m_function) (m_object);
105  }

Member Data Documentation

◆ m_function

TestInvariantFunction RCU::Check::TestInvariant::m_function
private

Definition at line 118 of file Assert.h.

◆ m_object

const void* RCU::Check::TestInvariant::m_object
private

Definition at line 119 of file Assert.h.


The documentation for this struct was generated from the following files:
RCU::Check::TestInvariant::m_function
TestInvariantFunction m_function
Definition: Assert.h:118
RCU::Check::TestInvariant::m_object
const void * m_object
Definition: Assert.h:119