The Gaudi Framework  master (ff829712)
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 649 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 652 of file MakeAndConsume.cpp.

652: 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 655 of file MakeAndConsume.cpp.

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

◆ ~Eventually()

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

Definition at line 662 of file MakeAndConsume.cpp.

662 {
663 if ( action ) action( parent );
664 }

Member Function Documentation

◆ operator=() [1/2]

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

Definition at line 657 of file MakeAndConsume.cpp.

657 {
658 parent = std::exchange( other.parent, nullptr );
659 action = std::exchange( other.action, nullptr );
660 return *this;
661 }

◆ 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 651 of file MakeAndConsume.cpp.

◆ parent

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

Definition at line 650 of file MakeAndConsume.cpp.


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