~chris-rogers/maus/emr_mc_digitization

« back to all changes in this revision

Viewing changes to src/common_cpp/Utils/RunActionManager.hh

  • Committer: Chris Rogers
  • Date: 2014-04-16 11:48:45 UTC
  • mfrom: (707 merge)
  • mto: This revision was merged to the branch mainline in revision 711.
  • Revision ID: chris.rogers@stfc.ac.uk-20140416114845-h3u3q7pdcxkxvovs
Update to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
    /** Replace current_item with new_item in run_data vector.
71
71
     *
72
72
     *  If current_item is not in the run_data vector, throw a
73
 
     *  Squeal. If new_item is already in the run_data vector or is NULL, throw
74
 
     *  a Squeal.
 
73
     *  Exception. If new_item is already in the run_data vector or is NULL, throw
 
74
     *  a Exception.
75
75
     *
76
76
     *  Memory allocated to current_item is still allocated, but no longer owned
77
77
     *  by RunActionManager (i.e. now owned by caller).
81
81
    /** Add item to the RunActionManager
82
82
     *
83
83
     *  RunActionManager now owns this memory (will clean it on delete). Throw
84
 
     *  a Squeal if item is already in the run_actions or item is NULL.
 
84
     *  a Exception if item is already in the run_actions or item is NULL.
85
85
     */
86
86
    void PushBack(RunActionBase* item);
87
87