Ticket #743 (closed: fixed)

Opened 11 years ago

Last modified 5 years ago

Workspace Parameter maps should copy on write operations

Reported by: Nick Draper Owned by: Roman Tolchenov
Priority: major Milestone: Iteration 19
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

You should use a cow_ptr to do this. Russell did something similar with the sp-det map. You have to seperate the read from the write operations through different methods, then on the write methods you call ptr.access() to notify the pointer that you are altering the data.

Problem: Follow these steps

  1. Load a LOQ dataset
  2. Rebin slightly to a new workspace
  3. Move the HAB to one side on the rebinned workspace.
  4. View the original workspace before rebinning, the bank is moved there as well.

Change History

comment:1 Changed 11 years ago by Nick Draper

  • Milestone changed from Iteration 18 to Iteration 19

Moved as part of iteration 18 end

comment:2 Changed 11 years ago by Roman Tolchenov

(In [3034]) Instrument parameter map is kept in a cow pointer now. re #743

comment:3 Changed 11 years ago by Roman Tolchenov

  • Status changed from new to closed
  • Resolution set to fixed

comment:4 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1591

Note: See TracTickets for help on using tickets.