Logo ROOT  
Reference Guide
TEveGeoManagerHolder Class Reference

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=0, Int_t n_seg=0)
 Constructor. More...
 
virtual ~TEveGeoManagerHolder ()
 Destructor. More...
 
virtual TClassIsA () const
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Private Member Functions

 TEveGeoManagerHolder (const TEveGeoManagerHolder &)
 
TEveGeoManagerHolderoperator= (const TEveGeoManagerHolder &)
 

Private Attributes

TGeoManagerfManager
 
Int_t fNSegments
 

#include <TEveUtil.h>

Constructor & Destructor Documentation

◆ TEveGeoManagerHolder() [1/2]

TEveGeoManagerHolder::TEveGeoManagerHolder ( const TEveGeoManagerHolder )
private

◆ TEveGeoManagerHolder() [2/2]

TEveGeoManagerHolder::TEveGeoManagerHolder ( TGeoManager new_gmgr = 0,
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.

◆ ~TEveGeoManagerHolder()

TEveGeoManagerHolder::~TEveGeoManagerHolder ( )
virtual

Destructor.

Definition at line 504 of file TEveUtil.cxx.

Member Function Documentation

◆ Class()

static TClass * TEveGeoManagerHolder::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TEveGeoManagerHolder::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static Version_t TEveGeoManagerHolder::Class_Version ( )
inlinestatic
Returns
Version of this class

Definition at line 154 of file TEveUtil.h.

◆ DeclFileName()

static const char * TEveGeoManagerHolder::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 154 of file TEveUtil.h.

◆ IsA()

virtual TClass * TEveGeoManagerHolder::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Definition at line 154 of file TEveUtil.h.

◆ operator=()

TEveGeoManagerHolder & TEveGeoManagerHolder::operator= ( const TEveGeoManagerHolder )
private

◆ Streamer()

virtual void TEveGeoManagerHolder::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void TEveGeoManagerHolder::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 154 of file TEveUtil.h.

Member Data Documentation

◆ fManager

TGeoManager* TEveGeoManagerHolder::fManager
private

Definition at line 144 of file TEveUtil.h.

◆ fNSegments

Int_t TEveGeoManagerHolder::fNSegments
private

Definition at line 145 of file TEveUtil.h.

Libraries for TEveGeoManagerHolder:
[legend]

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