Exception safe wrapper for setting gGeoManager.
Functionality to lock-unlock via setting of a static lock in TGeoManager should be added (new feature of TGeoManager).
Definition at line 141 of file TEveUtil.h.
Public Member Functions | |
TEveGeoManagerHolder (TGeoManager *new_gmgr=nullptr, Int_t n_seg=0) | |
Constructor. | |
virtual | ~TEveGeoManagerHolder () |
Destructor. | |
virtual TClass * | IsA () const |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Private Member Functions | |
TEveGeoManagerHolder (const TEveGeoManagerHolder &) | |
TEveGeoManagerHolder & | operator= (const TEveGeoManagerHolder &) |
Private Attributes | |
TGeoManager * | fManager |
Int_t | fNSegments |
#include <TEveUtil.h>
|
private |
TEveGeoManagerHolder::TEveGeoManagerHolder | ( | TGeoManager * | new_gmgr = nullptr , |
Int_t | n_seg = 0 |
||
) |
Constructor.
If n_seg is specified and larger than 2, the new geo-manager's NSegments is set to this value.
Definition at line 481 of file TEveUtil.cxx.
|
virtual |
Destructor.
Definition at line 504 of file TEveUtil.cxx.
|
static |
|
inlinestaticconstexpr |
Definition at line 154 of file TEveUtil.h.
|
inlinestatic |
Definition at line 154 of file TEveUtil.h.
|
inlinevirtual |
Definition at line 154 of file TEveUtil.h.
|
private |
|
virtual |
|
inline |
Definition at line 154 of file TEveUtil.h.
|
private |
Definition at line 144 of file TEveUtil.h.
|
private |
Definition at line 145 of file TEveUtil.h.