The Gaudi Framework  master (adcf1ca6)
Loading...
Searching...
No Matches
Gaudi::TestSuite::Eventually Struct Reference
Collaboration diagram for Gaudi::TestSuite::Eventually:

Public Member Functions

 Eventually (Gaudi::Algorithm const *p, void(*a)(Gaudi::Algorithm const *))
 
 Eventually (Eventually const &)=delete
 
Eventuallyoperator= (Eventually const &)=delete
 
 Eventually (Eventually &&other)
 
Eventuallyoperator= (Eventually &&other)
 
 ~Eventually ()
 

Public Attributes

Gaudi::Algorithm const * parent = nullptr
 
void(* action )(Gaudi::Algorithm const *) = nullptr
 

Detailed Description

Definition at line 676 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ Eventually() [1/3]

Gaudi::TestSuite::Eventually::Eventually ( Gaudi::Algorithm const * p,
void(* )(Gaudi::Algorithm const *) )
inline

Definition at line 679 of file MakeAndConsume.cpp.

679: parent{ p }, action{ a } {}
void(* action)(Gaudi::Algorithm const *)
Gaudi::Algorithm const * parent

◆ Eventually() [2/3]

Gaudi::TestSuite::Eventually::Eventually ( Eventually const & )
delete

◆ Eventually() [3/3]

Gaudi::TestSuite::Eventually::Eventually ( Eventually && other)
inline

Definition at line 682 of file MakeAndConsume.cpp.

683 : parent{ std::exchange( other.parent, nullptr ) }, action{ std::exchange( other.action, nullptr ) } {}

◆ ~Eventually()

Gaudi::TestSuite::Eventually::~Eventually ( )
inline

Definition at line 689 of file MakeAndConsume.cpp.

689 {
690 if ( action ) action( parent );
691 }

Member Function Documentation

◆ operator=() [1/2]

Eventually & Gaudi::TestSuite::Eventually::operator= ( Eventually && other)
inline

Definition at line 684 of file MakeAndConsume.cpp.

684 {
685 parent = std::exchange( other.parent, nullptr );
686 action = std::exchange( other.action, nullptr );
687 return *this;
688 }

◆ operator=() [2/2]

Eventually & Gaudi::TestSuite::Eventually::operator= ( Eventually const & )
delete

Member Data Documentation

◆ action

void(* Gaudi::TestSuite::Eventually::action) (Gaudi::Algorithm const *) = nullptr

Definition at line 678 of file MakeAndConsume.cpp.

◆ parent

Gaudi::Algorithm const* Gaudi::TestSuite::Eventually::parent = nullptr

Definition at line 677 of file MakeAndConsume.cpp.


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