14#include "arcane/core/VariableSynchronizerEventArgs.h"
15#include "arcane/core/VariableCollection.h"
26VariableSynchronizerEventArgs::
28 Real elapsed_time, State state)
33 m_elapsed_time = elapsed_time;
39VariableSynchronizerEventArgs::
40VariableSynchronizerEventArgs(VariableCollection vars, IVariableSynchronizer* vs,
41 Real elapsed_time, State state)
46 m_elapsed_time = elapsed_time;
52VariableSynchronizerEventArgs::
53VariableSynchronizerEventArgs(IVariable* var, IVariableSynchronizer* vs)
62VariableSynchronizerEventArgs::
63VariableSynchronizerEventArgs(VariableCollection vars, IVariableSynchronizer* vs)
76 return m_variables.view();
82void VariableSynchronizerEventArgs::
86 m_variables.reserve(vars.count());
87 m_compare_status_list.reserve(vars.count());
90 m_compare_status_list.add(CompareStatus::Unknown);
97void VariableSynchronizerEventArgs::
98initialize(IVariable* var)
101 m_variables.add(var);
102 m_compare_status_list.add(CompareStatus::Unknown);
108void VariableSynchronizerEventArgs::
111 m_elapsed_time = 0.0;
112 m_state = State::BeginSynchronize;
114 m_compare_status_list.clear();
Constant view of an array of type T.
Interface of a variable synchronization service.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
double Real
Type representing a real number.