Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
PTL::JoinFunction< void, void > Struct Reference

#include <TaskGroup.hh>

Public Types

using Type = std::function< void()>
 

Public Member Functions

template<typename Func >
 JoinFunction (Func &&func)
 
void operator() ()
 

Detailed Description

Definition at line 119 of file TaskGroup.hh.

Member Typedef Documentation

◆ Type

using PTL::JoinFunction< void, void >::Type = std::function<void()>

Definition at line 122 of file TaskGroup.hh.

Constructor & Destructor Documentation

◆ JoinFunction()

template<typename Func >
PTL::JoinFunction< void, void >::JoinFunction ( Func &&  func)
inline

Definition at line 128 of file TaskGroup.hh.

129 : m_func(std::forward<Func>(func))
130 {}

Member Function Documentation

◆ operator()()

void PTL::JoinFunction< void, void >::operator() ( )
inline

Definition at line 132 of file TaskGroup.hh.

132{ m_func(); }

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