33 namespace ArgusSamples
37 : m_initialized(false)
39 , m_guiContainerConfig(NULL)
56 PROPAGATE_ERROR(options.addOption(
57 createValueOption(
"exposurerange", 0,
"RANGE",
"set the exposure range to RANGE.",
59 PROPAGATE_ERROR(options.addOption(
60 createValueOption(
"exposuresteps", 0,
"COUNT",
"sample the exposure range at COUNT steps.",
73 PROPAGATE_ERROR_CONTINUE(
stop());
88 Window::IGuiContainer *iGuiContainerConfig)
99 PROPAGATE_ERROR(Window::IGuiContainerGrid::create(&
m_guiConfig));
102 UniquePointer<Window::IGuiElement> element;
104 Window::IGuiContainerGrid::BuildHelper buildHelper(
m_guiConfig);
106 #define CREATE_GUI_ELEMENT(_NAME, _VALUE) \
107 PROPAGATE_ERROR(Window::IGuiElement::createValue(&_VALUE, &element)); \
108 PROPAGATE_ERROR(buildHelper.append(_NAME, element.get())); \
114 #undef CREATE_GUI_ELEMENT