The Gaudi Framework  v38r1p1 (ae26267b)
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 594 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ Eventually() [1/3]

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

Definition at line 597 of file MakeAndConsume.cpp.

597 : parent{ p }, action{ a } {}

◆ Eventually() [2/3]

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

◆ Eventually() [3/3]

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

Definition at line 600 of file MakeAndConsume.cpp.

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

◆ ~Eventually()

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

Definition at line 607 of file MakeAndConsume.cpp.

607  {
608  if ( action ) action( parent );
609  }

Member Function Documentation

◆ operator=() [1/2]

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

Definition at line 602 of file MakeAndConsume.cpp.

602  {
603  parent = std::exchange( other.parent, nullptr );
604  action = std::exchange( other.action, nullptr );
605  return *this;
606  }

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

◆ parent

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

Definition at line 595 of file MakeAndConsume.cpp.


The documentation for this struct was generated from the following file:
Gaudi::TestSuite::Eventually::action
void(* action)(Gaudi::Algorithm const *)
Definition: MakeAndConsume.cpp:596
Gaudi::TestSuite::Eventually::parent
Gaudi::Algorithm const * parent
Definition: MakeAndConsume.cpp:595