Public Member Functions | Private Attributes | List of all members
art::detail::LegacyModule::ScheduleIDSentry Class Reference

#include <LegacyModule.h>

Public Member Functions

 ScheduleIDSentry (LegacyModule &mod, ScheduleID const sid) noexcept
 
 ~ScheduleIDSentry () noexcept
 

Private Attributes

LegacyModulemod_
 

Detailed Description

Definition at line 35 of file LegacyModule.h.

Constructor & Destructor Documentation

art::detail::LegacyModule::ScheduleIDSentry::ScheduleIDSentry ( LegacyModule mod,
ScheduleID const  sid 
)
explicitnoexcept

Definition at line 23 of file LegacyModule.cc.

26  : mod_{mod}
27  {
28  mod_.setScheduleID(sid);
29  }
void setScheduleID(ScheduleID const sid) noexcept
Definition: LegacyModule.cc:18
art::detail::LegacyModule::ScheduleIDSentry::~ScheduleIDSentry ( )
noexcept

Definition at line 31 of file LegacyModule.cc.

32  {
33  mod_.setScheduleID(ScheduleID{});
34  }
void setScheduleID(ScheduleID const sid) noexcept
Definition: LegacyModule.cc:18

Member Data Documentation

LegacyModule& art::detail::LegacyModule::ScheduleIDSentry::mod_
private

Definition at line 41 of file LegacyModule.h.


The documentation for this class was generated from the following files: