- TimeLabel();
- virtual ~TimeLabel();
- void updateTimeWith(const TimeLabel& other) const;
- void forceTimeOfThis(const TimeLabel& other) const;
+ MEDCOUPLING_EXPORT TimeLabel();
+ MEDCOUPLING_EXPORT virtual ~TimeLabel();
+ MEDCOUPLING_EXPORT void updateTimeWith(const TimeLabel& other) const;
+ MEDCOUPLING_EXPORT void forceTimeOfThis(const TimeLabel& other) const;
+ private:
+ static std::atomic<std::size_t> GLOBAL_TIME;
+ mutable std::size_t _time;
+ };
+
+ class TimeLabelConstOverseer
+ {
+ public:
+ MEDCOUPLING_EXPORT TimeLabelConstOverseer(const TimeLabel *tl);
+ MEDCOUPLING_EXPORT void checkConst() const;
+ MEDCOUPLING_EXPORT bool resetState();
+ MEDCOUPLING_EXPORT bool keepTrackOfNewTL(const TimeLabel *tl);