Exception safe wrapper for setting gPad.
Optionally calls gPad->Modified()/Update() in destructor.
Definition at line 126 of file TEveUtil.h.
Public Member Functions | |
TEvePadHolder (Bool_t modify_update_p, TVirtualPad *new_pad=0, Int_t subpad=0) | |
Constructor. More... | |
virtual | ~TEvePadHolder () |
Destructor. More... | |
Private Member Functions | |
TEvePadHolder (const TEvePadHolder &) | |
TEvePadHolder & | operator= (const TEvePadHolder &) |
Private Attributes | |
Bool_t | fModifyUpdateP |
TVirtualPad * | fOldPad |
#include <TEveUtil.h>
|
private |
TEvePadHolder::TEvePadHolder | ( | Bool_t | modify_update_p, |
TVirtualPad * | new_pad = 0 , |
||
Int_t | subpad = 0 |
||
) |
Constructor.
Definition at line 449 of file TEveUtil.cxx.
|
virtual |
Destructor.
Definition at line 462 of file TEveUtil.cxx.
|
private |
|
private |
Definition at line 130 of file TEveUtil.h.
|
private |
Definition at line 129 of file TEveUtil.h.