24 lines
826 B
C++
Executable File
24 lines
826 B
C++
Executable File
#ifndef REFLECTOR_GENERATOR_H
|
|
#define REFLECTOR_GENERATOR_H
|
|
|
|
#include <memory>
|
|
|
|
#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<Reflector> buildReflector(Parameter& parameter,
|
|
const json_path& path_to_reflector);
|
|
|
|
};
|
|
|
|
#endif /* REFLECTOR_GENERATOR_H */
|