Public Member Functions | List of all members
art::detail::do_call_old_startEvent< T > Struct Template Reference

#include "/cvmfs/nova.opensciencegrid.org/externals/art/v2_13_00/source/art/Framework/Modules/MixFilter.h"

Public Member Functions

void operator() (T &t)
 

Detailed Description

template<typename T>
struct art::detail::do_call_old_startEvent< T >

Definition at line 171 of file MixFilter.h.

Member Function Documentation

template<typename T >
void art::detail::do_call_old_startEvent< T >::operator() ( T t)
inline

Definition at line 174 of file MixFilter.h.

175  {
176  static bool need_warning = true;
177  if (need_warning) {
178  mf::LogWarning("Deprecated")
179  << "Mixing driver function has signature startEvent(), which is "
180  "deprecated.\n"
181  << "Please update your code to define startEvent(Event const &).\n"
182  << "In a future version of ART the old method will no longer be "
183  "called.";
184  need_warning = false;
185  }
186  t.startEvent();
187  }
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning

The documentation for this struct was generated from the following file: