Ignore:
Timestamp:
Apr 23, 2021, 8:34:22 PM (5 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.0, stable
Children:
f3eb6a
Parents:
d9e1d1
git-author:
Frederik Heber <frederik.heber@…> (10/03/20 21:21:28)
git-committer:
Frederik Heber <frederik.heber@…> (04/23/21 20:34:22)
Message:

LinkCell model has name on update for debugging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/LinkedCell/LinkedCell_Model_Update.hpp

    rd9e1d1 ref0f8f  
    1313#include <config.h>
    1414#endif
     15
     16#include <string>
    1517
    1618#include <boost/function.hpp>
     
    3234    typedef size_t PriorityLevel;
    3335
    34     Update(boost::function<void (const TesselPoint *)> _updateMethod, const TesselPoint *_Walker, const PriorityLevel _priority);
     36    Update(boost::function<void (const TesselPoint *)> _updateMethod, const TesselPoint *_Walker, const PriorityLevel _priority, const std::string name="");
    3537    ~Update();
    3638
     
    3840
    3941    size_t getPriority() const { return priority; }
     42
     43    std::string getName() { return name; }
    4044
    4145  private:
     
    5357    //!> priority level of this Update (the lower, the more important)
    5458    PriorityLevel priority;
     59    //!> name of the update
     60    const std::string name;
    5561  };
    5662} // namespace LinkedCell
Note: See TracChangeset for help on using the changeset viewer.