#ifndef REFLECTOR_GENERATOR_H #define REFLECTOR_GENERATOR_H #include #include "simulation/jansson_additionals.h" #include "simulation/parameter.h" #include "simulation/reflector.h" namespace generator { // return a shared_ptr to a Reflector object described at the given path in the Parameter object // the object at the path has to consist of a json-object called either "ReflectorDPS" // or "NoReflector" // if "ReflectorDPS" exists, a json-object "position_z" has to exist following the structure // described in json_read_length ("simulation/jansson_additionals.h") // if "NoReflector" is specified, it can be an empty object std::shared_ptr buildReflector(Parameter& parameter, const json_path& path_to_reflector); }; #endif /* REFLECTOR_GENERATOR_H */