LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
art::detail::do_call_old_startEvent< T > Struct Template Reference

#include "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 173 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 176 of file MixFilter.h.

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

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