40#include <drain/prog/CommandInstaller.h>
58 getParameters().link(
"lonSpacing", lonSpacing = 1,
"deg");
59 getParameters().link(
"latSpacing", latSpacing = 1,
"deg");
60 getParameters().link(
"width", width = 1.0,
"pix");
61 getParameters().link(
"intensity", intensity = 0.5,
"");
65 getParameters().
copyStruct(cmd.getParameters(), cmd, *
this);
Simple implementation of Command: adds name , description and parameters .
Definition Command.h:424
void copyStruct(const ReferenceMap &m, const T &src, T &dst, extLinkPolicy policy=RESERVE)
Experimental. Copies references and values of a structure to another.
Definition ReferenceMap.h:399
Definition cartesian-grid.h:48
void exec() const
Run the command with current parameter values.
Definition cartesian-grid.cpp:51
Definition DataSelector.cpp:44