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