ROOT logo
ROOT » GRAF3D » EVE » TEveGeoManagerHolder

class TEveGeoManagerHolder


 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).

Function Members (Methods)

public:
TEveGeoManagerHolder(TGeoManager* new_gmgr = 0, Int_t n_seg = 0)
virtual~TEveGeoManagerHolder()
static TClass*Class()
virtual TClass*IsA() const
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)

Data Members

private:
TGeoManager*fManager
Int_tfNSegments

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

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.
~TEveGeoManagerHolder()
 Destructor.
TEvePadHolder& operator=(const TEveGeoManagerHolder& )
TEveGeoManagerHolder(const TEveGeoManagerHolder& )