#include <G4ThreadLocalSingleton.hh>
|
static void | Clear () |
|
template<typename FuncT > |
static fvector_t::iterator | Insert (FuncT &&_func) |
|
Definition at line 121 of file G4ThreadLocalSingleton.hh.
◆ Clear()
Definition at line 45 of file G4ThreadLocalSingleton.cc.
46{
48 for(const auto& itr : GetCallbacks())
49 {
50 itr();
51 }
52 GetCallbacks().clear();
53}
◆ Insert()
template<typename FuncT >
Definition at line 136 of file G4ThreadLocalSingleton.hh.
137 {
139 return GetCallbacks().emplace(GetCallbacks().end(),
140 std::forward<FuncT>(_func));
141 }
◆ G4ThreadLocalSingleton
The documentation for this class was generated from the following files: