Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
fhiclcpp
fhiclcpp
test
types
tables_in_parallel_t.cc
Go to the documentation of this file.
1
#include "
fhiclcpp/types/Atom.h
"
2
#include "
fhiclcpp/types/Table.h
"
3
#include "hep_concurrency/simultaneous_function_spawner.h"
4
5
using namespace
hep::concurrency
;
6
7
namespace
{
8
struct
Config
{
9
fhicl::Atom<bool>
flag{
fhicl::Name
{
"Name"
}};
10
};
11
}
12
13
int
14
main
()
15
{
16
auto
make_table = [] {
fhicl::Table<Config>
config
{
fhicl::Name
{
"Top"
}}; };
17
simultaneous_function_spawner sfs{repeated_task(10, make_table)};
18
}
fhicl::Table< Config >
art::detail::Config
typename config_impl< T >::type Config
Definition:
ModuleMacros.h:52
config
static Config * config
Definition:
config.cpp:1054
main
int main()
Definition:
tables_in_parallel_t.cc:14
fhicl::Atom< bool >
Table.h
Atom.h
hep::concurrency
Definition:
Worker.h:35
fhicl::Name
Definition:
Name.h:10
Generated by
1.8.11