Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions interface/cuvis.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ namespace cuvis
* */
bool add_fullscale_pan;

/** @brief Set @ref Expor ter to permisive mode (default: @ref false)
/** @brief Set @ref Exporter to permisive mode (default: @ref false)
*
* @copydoc cuvis_export_general_settings_t.permissive
* */
Expand Down Expand Up @@ -397,12 +397,18 @@ namespace cuvis
* */
std::chrono::milliseconds max_buftime;

/** Force creation of "Calibration" directory. All references for any measurements exported will be stored there.
*
* @copydoc cuvis_save_args_t.create_calibration_directory
* */
bool create_calibration_directory;
/** The frame is saved including all results from processing, e.g. the cube.
*
* @copydoc cuvis_save_args_t.full_export
* */
bool full_export;
};

/** @brief Additional settings for exporting tiff.*/
struct TiffArgs : public GeneralExportArgs
{
Expand Down Expand Up @@ -2595,7 +2601,8 @@ namespace cuvis
allow_info_file(true),
soft_limit(20),
hard_limit(100),
max_buftime(10000)
max_buftime(10000),
create_calibration_directory(true)
{}

inline SaveArgs::operator cuvis_save_args_t() const
Expand All @@ -2611,6 +2618,7 @@ namespace cuvis
save_args.soft_limit = static_cast<int32_t>(soft_limit);
save_args.hard_limit = static_cast<int32_t>(hard_limit);
save_args.max_buftime = static_cast<int32_t>(max_buftime.count());
save_args.create_calibration_directory = create_calibration_directory;
save_args.full_export = full_export ? 1 : 0;
return save_args;
}
Expand Down