Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <G4Profiler.hh>
Public Types | |
using | type = G4ProfilerBundle< g4tim::user_bundle< Category, G4ProfileType > > |
using | this_type = G4ProfilerConfig< Category > |
using | QueryFunc_t = G4ProfilerFunctors_t< Category, bool > |
using | LabelFunc_t = G4ProfilerFunctors_t< Category, std::string > |
using | ToolFunc_t = std::tuple< std::function< type *(const std::string &)> > |
using | QueryHandler_t = FuncHandler< this_type, QueryFunc_t, bool > |
using | LabelHandler_t = FuncHandler< this_type, LabelFunc_t, std::string > |
using | ToolHandler_t = FuncHandler< this_type, ToolFunc_t, type * > |
Public Member Functions | |
G4ProfilerConfig ()=default | |
template<typename Arg , typename... Args> | |
G4ProfilerConfig (Arg, Args...) | |
~G4ProfilerConfig () | |
G4ProfilerConfig (G4ProfilerConfig &&)=default | |
G4ProfilerConfig & | operator= (G4ProfilerConfig &&)=default |
G4ProfilerConfig (const G4ProfilerConfig &)=delete | |
G4ProfilerConfig & | operator= (const G4ProfilerConfig &)=delete |
template<typename... Args> | |
bool | operator() (Args...) |
operator bool () const | |
template<int Idx> | |
G4ProfilerConfig< Ct >::template PersistentSettings< Idx > & | GetPersistentFallback () |
template<int Idx> | |
G4ProfilerConfig< Ct >::template PersistentSettings< Idx > & | GetPersistent () |
Static Public Member Functions | |
template<typename... Args> | |
static bool | Query (Args... _args) |
template<typename... Args> | |
static std::string | Label (Args... _args) |
template<typename... Args> | |
static type * | Tool (const std::string &) |
static QueryHandler_t | GetQueryFunctor () |
static QueryHandler_t | GetFallbackQueryFunctor () |
static LabelHandler_t | GetLabelFunctor () |
static LabelHandler_t | GetFallbackLabelFunctor () |
static ToolHandler_t | GetToolFunctor () |
static ToolHandler_t | GetFallbackToolFunctor () |
Static Public Attributes | |
static constexpr size_t | arg_sets |
Definition at line 324 of file G4Profiler.hh.
using G4ProfilerConfig< Category >::LabelFunc_t = G4ProfilerFunctors_t<Category, std::string> |
Definition at line 334 of file G4Profiler.hh.
using G4ProfilerConfig< Category >::LabelHandler_t = FuncHandler<this_type, LabelFunc_t, std::string> |
Definition at line 398 of file G4Profiler.hh.
using G4ProfilerConfig< Category >::QueryFunc_t = G4ProfilerFunctors_t<Category, bool> |
Definition at line 333 of file G4Profiler.hh.
using G4ProfilerConfig< Category >::QueryHandler_t = FuncHandler<this_type, QueryFunc_t, bool> |
Definition at line 397 of file G4Profiler.hh.
using G4ProfilerConfig< Category >::this_type = G4ProfilerConfig<Category> |
Definition at line 328 of file G4Profiler.hh.
using G4ProfilerConfig< Category >::ToolFunc_t = std::tuple<std::function<type*(const std::string&)> > |
Definition at line 335 of file G4Profiler.hh.
using G4ProfilerConfig< Category >::ToolHandler_t = FuncHandler<this_type, ToolFunc_t, type*> |
Definition at line 399 of file G4Profiler.hh.
using G4ProfilerConfig< Category >::type = G4ProfilerBundle<g4tim::user_bundle<Category, G4ProfileType> > |
Definition at line 327 of file G4Profiler.hh.
|
default |
G4ProfilerConfig< Cat >::G4ProfilerConfig | ( | Arg | _arg, |
Args... | _args | ||
) |
Definition at line 446 of file G4Profiler.hh.
G4ProfilerConfig< Cat >::~G4ProfilerConfig |
Definition at line 408 of file G4Profiler.cc.
|
default |
|
delete |
|
static |
Definition at line 457 of file G4Profiler.cc.
|
static |
Definition at line 446 of file G4Profiler.cc.
|
static |
Definition at line 468 of file G4Profiler.cc.
|
static |
Definition at line 427 of file G4Profiler.cc.
G4ProfilerConfig< Ct >::template PersistentSettings< Idx > & G4ProfilerConfig< Category >::GetPersistent | ( | ) |
Definition at line 372 of file G4Profiler.cc.
G4ProfilerConfig< Ct >::template PersistentSettings< Idx > & G4ProfilerConfig< Category >::GetPersistentFallback | ( | ) |
Definition at line 358 of file G4Profiler.cc.
|
static |
Definition at line 418 of file G4Profiler.cc.
|
static |
Definition at line 436 of file G4Profiler.cc.
|
static |
Definition at line 483 of file G4Profiler.hh.
|
inline |
Definition at line 361 of file G4Profiler.hh.
bool G4ProfilerConfig< Cat >::operator() | ( | Args... | _args | ) |
Definition at line 455 of file G4Profiler.hh.
|
delete |
|
default |
|
static |
Definition at line 472 of file G4Profiler.hh.
|
static |
Definition at line 494 of file G4Profiler.hh.
|
staticconstexpr |
Definition at line 330 of file G4Profiler.hh.