Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
wire-cell-build
apps
inc
WireCellApps
ConfigDumper.h
Go to the documentation of this file.
1
#ifndef WIRECELLAPPS_CONFIGDUMPER
2
#define WIRECELLAPPS_CONFIGDUMPER
3
4
#include "
WireCellIface/IApplication.h
"
5
#include "
WireCellIface/IConfigurable.h
"
6
#include "
WireCellUtil/Configuration.h
"
7
8
namespace
WireCellApps
{
9
10
class
ConfigDumper
:
public
WireCell::IApplication
,
public
WireCell::IConfigurable
{
11
WireCell::Configuration
m_cfg
;
12
public
:
13
ConfigDumper
();
14
virtual
~ConfigDumper
();
15
16
virtual
void
execute
();
17
18
virtual
void
configure
(
const
WireCell::Configuration
&
config
);
19
virtual
WireCell::Configuration
default_configuration
()
const
;
20
21
22
};
23
24
}
25
26
#endif
IApplication.h
WireCell::IConfigurable
Definition:
IConfigurable.h:13
WireCell::IApplication
Definition:
IApplication.h:12
WireCellApps
Definition:
ConfigDumper.h:8
IConfigurable.h
WireCellApps::ConfigDumper::default_configuration
virtual WireCell::Configuration default_configuration() const
Optional, override to return a hard-coded default configuration.
Definition:
ConfigDumper.cxx:34
WireCellApps::ConfigDumper
Definition:
ConfigDumper.h:10
config
static Config * config
Definition:
config.cpp:1054
WireCellApps::ConfigDumper::execute
virtual void execute()
Implement to run something.
Definition:
ConfigDumper.cxx:43
WireCellApps::ConfigDumper::~ConfigDumper
virtual ~ConfigDumper()
Definition:
ConfigDumper.cxx:25
WireCellApps::ConfigDumper::ConfigDumper
ConfigDumper()
Definition:
ConfigDumper.cxx:20
WireCellApps::ConfigDumper::configure
virtual void configure(const WireCell::Configuration &config)
Accept a configuration.
Definition:
ConfigDumper.cxx:29
WireCellApps::ConfigDumper::m_cfg
WireCell::Configuration m_cfg
Definition:
ConfigDumper.h:11
WireCell::Configuration
Json::Value Configuration
Definition:
Configuration.h:50
Configuration.h
Generated by
1.8.11