The Gaudi Framework  v36r9 (fd2bdac3)
Gaudi::Examples::Eventually Struct Reference
Collaboration diagram for Gaudi::Examples::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 593 of file MakeAndConsume.cpp.

Constructor & Destructor Documentation

◆ Eventually() [1/3]

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

Definition at line 596 of file MakeAndConsume.cpp.

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

◆ Eventually() [2/3]

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

◆ Eventually() [3/3]

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

Definition at line 599 of file MakeAndConsume.cpp.

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

◆ ~Eventually()

Gaudi::Examples::Eventually::~Eventually ( )
inline

Definition at line 606 of file MakeAndConsume.cpp.

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

Member Function Documentation

◆ operator=() [1/2]

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

Definition at line 601 of file MakeAndConsume.cpp.

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ action

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

Definition at line 595 of file MakeAndConsume.cpp.

◆ parent

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

Definition at line 594 of file MakeAndConsume.cpp.


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