19#include "TimestampMng.h"
21#include <alien/utils/Trace.h>
23#include "ITimestampObserver.h"
32using namespace Arccore;
37TimestampMng::TimestampMng()
43TimestampMng::TimestampMng(
const TimestampMng& tm)
44: m_timestamp(tm.m_timestamp)
59 cout() <<
"Udpate Timestamp " << ts <<
" (" << m_observers.size()
60 <<
" Observers) by TimestampMng " <<
this;
65 for (
auto& o : m_observers)
71void TimestampMng::addObserver(std::shared_ptr<ITimestampObserver> observer)
74 cout() <<
"Add Timestamp Observer " << observer.get() <<
" to TimestampMng " <<
this;
77 m_observers.add(observer);
82void TimestampMng::clearObservers()
Int64 timestamp() const
Valeur du timestamp de référence.
void updateTimestamp(Timestamp *ts) const
Requête de mise à jour d'un Timestamp.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --