CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
FWChangeSentry Class Reference

#include <FWModelChangeManager.h>

Public Member Functions

 FWChangeSentry (FWModelChangeManager &iM)
 
 ~FWChangeSentry ()
 

Private Attributes

FWModelChangeManagerm_manager
 

Detailed Description

Definition at line 68 of file FWModelChangeManager.h.

Constructor & Destructor Documentation

◆ FWChangeSentry()

FWChangeSentry::FWChangeSentry ( FWModelChangeManager iM)
inline

Definition at line 70 of file FWModelChangeManager.h.

70 : m_manager(&iM) { m_manager->beginChanges(); }

References FWModelChangeManager::beginChanges(), and m_manager.

◆ ~FWChangeSentry()

FWChangeSentry::~FWChangeSentry ( )
inline

Definition at line 71 of file FWModelChangeManager.h.

71 { m_manager->endChanges(); }

References FWModelChangeManager::endChanges(), and m_manager.

Member Data Documentation

◆ m_manager

FWModelChangeManager* FWChangeSentry::m_manager
private

Definition at line 74 of file FWModelChangeManager.h.

Referenced by FWChangeSentry(), and ~FWChangeSentry().

FWModelChangeManager::endChanges
void endChanges()
Definition: FWModelChangeManager.cc:83
FWModelChangeManager::beginChanges
void beginChanges()
Definition: FWModelChangeManager.cc:59
FWChangeSentry::m_manager
FWModelChangeManager * m_manager
Definition: FWModelChangeManager.h:74