Phoxonics  1.0
Object Oriented FDTD Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
DetectorConfig.hpp
Go to the documentation of this file.
1 /*
2  * DetectorConfig.hpp
3  *
4  * Created on: Dec 2, 2014
5  * Author: nano
6  */
7 
8 #ifndef DETECTORCONFIG_HPP_
9 #define DETECTORCONFIG_HPP_
10 
11 #include "../../../common/common.hpp"
12 #include "../common/Vector3D.hpp"
13 #include "ConfigBase.hpp"
14 #include "ConfigFactoryReg.hpp"
15 #include <vector>
16 
17 namespace phoxonics {
18 namespace core {
19 
20 class DetectorConfig : public ConfigBase {
21 public:
23  explicit DetectorConfig(std::string config_type, std::string component,
24  std::string h5_data_file, std::string h5_dataset_name);
25  virtual ~DetectorConfig();
26 
27  std::string component { "" };
30  std::string h5_data_file { "" };
31  std::string h5_dataset_name { "" };
32 
33  // print object in console
34  void print_me() override final;
35 };
36 
37 } /* namespace core */
38 } /* namespace phoxonics */
39 
40 #endif /* DETECTORCONFIG_HPP_ */
std::string h5_data_file
Definition: DetectorConfig.hpp:30
Definition: DetectorConfig.hpp:20
std::string component
Definition: DetectorConfig.hpp:27
virtual ~DetectorConfig()
Definition: DetectorConfig.cpp:31
Definition: CommonBase.hpp:14
Definition: ConfigBase.hpp:20
std::string h5_dataset_name
Definition: DetectorConfig.hpp:31
Definition: Vector3D.hpp:19
Vector3D size
Definition: DetectorConfig.hpp:29
std::string config_type
Definition: ConfigBase.hpp:41
Vector3D location
Definition: DetectorConfig.hpp:28
DetectorConfig()
Definition: DetectorConfig.cpp:15
void print_me() overridefinal
Definition: DetectorConfig.cpp:35