ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
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 142 of file TEveUtil.h.

Public Member Functions

 TEveGeoManagerHolder (TGeoManager *new_gmgr=0, Int_t n_seg=0)
 Constructor. More...
 
virtual ~TEveGeoManagerHolder ()
 Destructor. More...
 
 ClassDef (TEveGeoManagerHolder, 0)
 

Private Member Functions

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

Private Attributes

TGeoManagerfManager
 
Int_t fNSegments
 

#include <TEveUtil.h>

Constructor & Destructor Documentation

TEveGeoManagerHolder::TEveGeoManagerHolder ( const TEveGeoManagerHolder )
private
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 485 of file TEveUtil.cxx.

TEveGeoManagerHolder::~TEveGeoManagerHolder ( )
virtual

Destructor.

Definition at line 508 of file TEveUtil.cxx.

Member Function Documentation

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

Member Data Documentation

TGeoManager* TEveGeoManagerHolder::fManager
private

Definition at line 145 of file TEveUtil.h.

Referenced by ~TEveGeoManagerHolder().

Int_t TEveGeoManagerHolder::fNSegments
private

Definition at line 146 of file TEveUtil.h.

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

Collaboration diagram for TEveGeoManagerHolder:
[legend]

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