#include "ZGlass.h"

ZGlass


class description - source file - inheritance tree (.ps)

class ZGlass : public TObject

Inheritance Chart:
TObject
<-
ZGlass
<-
LampLink
ZGlStateBase
<-
ZGlBlending
ZGlLightModel
ZGlMaterial
ZIdentity
<-
ZGroupIdentity
ZList
<-
NestInfo
<-
ShellInfo
 [more...]
    private:
void _init() protected:
virtual void AdEndarkenment() virtual void AdEnlightenment() virtual void AdUnfoldment() void assert_MIR_presence(const string& header, int what = 0) virtual void reference_all() virtual void remove_references_to(ZGlass* lens) void set_link_or_die(ZGlass*& link, ZGlass* new_val, LID_t lid, CID_t cid) virtual void unreference_all() public:
static void _gled_catalog_init() ZGlass(const Text_t* n = "ZGlass", const Text_t* t = "0") ZGlass(const ZGlass&) virtual ~ZGlass() static TClass* Class() static CID_t ClassID() virtual void ClearAllReferences() void ClearLinks() virtual void CopyLinkRefs(lppZGlass_t& ref_list) virtual void CopyLinks(lpZGlass_t& glass_list) virtual void CopyLinkSpecs(lLinkSpec_t& link_spec_list) Short_t DecRefCount(ZGlass* from) void ExecuteMir(ZMIR& mir) static FID_t FID() virtual ZGlass* FindLensByPath(const Text_t* url) virtual ZGlass* FindLensByPath(const string& url) Bool_t GetAcceptRefs() const UShort_t GetFireRefCount() const ZMirFilter* GetGuard() const virtual ZGlass* GetLinkByName(const Text_t* link_name) virtual ZGlass* GetLinkByName(const string& link_name) ZMIR* GetMir() const Bool_t GetMIRActive() const UShort_t GetMoonRefCount() const virtual const Text_t* GetName() const ZQueen* GetQueen() const UShort_t GetRefCount() const Saturn* GetSaturn() const ID_t GetSaturnID() const TimeStamp_t GetStampReqTring() const UShort_t GetSunRefCount() const TimeStamp_t GetTimeStamp() const virtual const Text_t* GetTitle() const string Identify() const Short_t IncRefCount(ZGlass* from) virtual TClass* IsA() const bool IsSunOrFireSpace() bool IsSunSpace() static LID_t LibID() virtual void MarkStampReqTring() static MID_t Mid_SetAcceptRefs() static MID_t Mid_SetGuard() static MID_t Mid_SetMIRActive() static MID_t Mid_SetName() static MID_t Mid_SetStampReqTring() static MID_t Mid_SetTimeStamp() static MID_t Mid_SetTitle() static MID_t Mid_UpdateAllViews() static MID_t Mid_UpdateGlassView() ZGlass& operator=(const ZGlass&) void ReadLock() const void ReadUnlock() const virtual Int_t RebuildAll(An_ID_Demangler* idd) virtual Int_t RebuildLinks(An_ID_Demangler* c) ZMIR* S_SetAcceptRefs(Bool_t acceptrefs) ZMIR* S_SetGuard(ZMirFilter* guard) ZMIR* S_SetMIRActive(Bool_t miractive) ZMIR* S_SetName(const Text_t* s) ZMIR* S_SetStampReqTring(TimeStamp_t stampreqtring) ZMIR* S_SetTimeStamp(TimeStamp_t timestamp) ZMIR* S_SetTitle(const Text_t* s) ZMIR* S_UpdateAllViews() ZMIR* S_UpdateGlassView() void SetAcceptRefs(Bool_t acceptrefs) void SetGuard(ZMirFilter* guard) void SetMIRActive(Bool_t miractive) void SetName(const Text_t* n) void SetStamp_CB(zglass_stamp_f foo, void* arg) void SetStampLink_CB(zglass_stamp_f foo, void* arg) void SetStampReqTring(TimeStamp_t stampreqtring) virtual void SetStamps(TimeStamp_t s) void SetTimeStamp(TimeStamp_t timestamp) void SetTitle(const Text_t* t) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual TimeStamp_t Stamp(LID_t lid, CID_t cid) TimeStamp_t Stamp() virtual TimeStamp_t StampLink(LID_t lid, CID_t cid) TimeStamp_t StampLink() virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) void UpdateAllViews() void UpdateGlassView() void WriteLock() void WriteUnlock() virtual LID_t ZibID() const virtual const char* ZibName() const virtual FID_t ZID() const virtual CID_t ZlassID() const virtual const char* ZlassName() const

Data Members


    protected:
Saturn* mSaturn ! X{G} ZQueen* mQueen ! X{G} ZMIR* mMir ! X{G} UShort_t mGlassBits TString mName X{GE} 7 Textor() TString mTitle X{GE} 7 Textor() ID_t mSaturnID X{G} 7 ValOut(-range=>[0,MAX_ID,1,0], ZMirFilter* mGuard X{E} L{} Bool_t bMIRActive X{GS} 7 BoolOut(-join=>1) Bool_t bAcceptRefs X{GS} 7 BoolOut() lpZGlass_t mReverseRefs ! lenses that reference *this* UShort_t mRefCount ! X{G} 7 ValOut(-width=>4, -join=>1) UShort_t mMoonRefCount ! X{G} 7 ValOut(-width=>4) UShort_t mSunRefCount ! X{G} 7 ValOut(-width=>4, -join=>1) UShort_t mFireRefCount ! X{G} 7 ValOut(-width=>4) GMutex mReadMutex ! TimeStamp_t mTimeStamp ! X{GS} TimeStamp of last change TimeStamp_t mStampReqTring ! X{GS} TimeStamp of last change that requires retriangulation zglass_stamp_f mStamp_CB ! called if non-null void* mStamp_CBarg ! and the user data zglass_stamp_f mStampLink_CB ! called if non-null void* mStampLink_CBarg ! and the user data public:
static const ZGlass::MirComponents_e MC_Any static const ZGlass::MirComponents_e MC_IsFlare static const ZGlass::MirComponents_e MC_IsBeam static const ZGlass::MirComponents_e MC_HasResultReq

Class Description

 ZGlass

 Base of Gled enabled classes.
 Provides infrastructure for integration with the Gled system.

 mGlassBits: collection of flags that allow (optimised) handling of lenses.

void _init()

void reference_all()

void unreference_all()

void remove_references_to(ZGlass* lens)
 Removes all references to *lens*.
 Heavily virtual ... lists overrirde it but also call the ZGlass version
 for unreferencing of links.
 Calls DecRefCount and emits Rays.

string Identify() const

void WriteLock()

void WriteUnlock()

void assert_MIR_presence(const string& header, int what)

void SetName(const Text_t* n)

void SetTitle(const Text_t* t)

ZMirFilter* GetGuard() const

void SetGuard(ZMirFilter* guard)

~ZGlass()
 !!!!! Should unref all links; check zlist, too

void UpdateGlassView()

void UpdateAllViews()

bool IsSunSpace()
 Returns true if this lens is in local Saturn's sun-space.

bool IsSunOrFireSpace()
 Returns true if this lens is in local Saturn's sun or fire-space.

Short_t IncRefCount(ZGlass* from)
 Called to notify *this* that *from* desires to reference it.
 Throws an exception if the reference is not allowed by *this*
 lens or its queen.

Short_t DecRefCount(ZGlass* from)
 Called to notify *this* that it is no longer referenced by lens from.

void ClearLinks()

void ClearAllReferences()

ZGlass* GetLinkByName(const Text_t* link_name)

ZGlass* GetLinkByName(const string& link_name)
 Returns glass pointed to by link with name link_name.
 Attempts link_name == LinkMemberName and
 link_name == Class::LinkMemberName.
 Throws an exception (string) if link does not exist.
 In principle could have a map link-name->link-specs.

ZGlass* FindLensByPath(const Text_t* url)

ZGlass* FindLensByPath(const string& url)

TimeStamp_t Stamp(LID_t lid, CID_t cid)

TimeStamp_t StampLink(LID_t lid, CID_t cid)

void SetStamp_CB(zglass_stamp_f foo, void* arg)

void SetStampLink_CB(zglass_stamp_f foo, void* arg)

Int_t RebuildAll(An_ID_Demangler* idd)



Inline Functions


                 void set_link_or_die(ZGlass*& link, ZGlass* new_val, LID_t lid, CID_t cid)
                 void ReadLock() const
                 void ReadUnlock() const
                 void AdEnlightenment()
                 void AdEndarkenment()
                 void AdUnfoldment()
               ZGlass ZGlass(const Text_t* n = "ZGlass", const Text_t* t = "0")
                 void SetStamps(TimeStamp_t s)
          TimeStamp_t Stamp()
          TimeStamp_t StampLink()
                 void MarkStampReqTring()
                LID_t LibID()
                LID_t ZibID() const
                CID_t ClassID()
                CID_t ZlassID() const
                FID_t FID()
                FID_t ZID() const
          const char* ZlassName() const
          const char* ZibName() const
              Saturn* GetSaturn() const
              ZQueen* GetQueen() const
                ZMIR* GetMir() const
        const Text_t* GetName() const
        const Text_t* GetTitle() const
                 ID_t GetSaturnID() const
               Bool_t GetMIRActive() const
                 void SetMIRActive(Bool_t miractive)
               Bool_t GetAcceptRefs() const
                 void SetAcceptRefs(Bool_t acceptrefs)
             UShort_t GetRefCount() const
             UShort_t GetMoonRefCount() const
             UShort_t GetSunRefCount() const
             UShort_t GetFireRefCount() const
          TimeStamp_t GetTimeStamp() const
                 void SetTimeStamp(TimeStamp_t timestamp)
          TimeStamp_t GetStampReqTring() const
                 void SetStampReqTring(TimeStamp_t stampreqtring)
                 void CopyLinks(lpZGlass_t& glass_list)
                 void CopyLinkRefs(lppZGlass_t& ref_list)
                 void CopyLinkSpecs(lLinkSpec_t& link_spec_list)
                Int_t RebuildLinks(An_ID_Demangler* c)
                 void ExecuteMir(ZMIR& mir)
                ZMIR* S_SetName(const Text_t* s)
                MID_t Mid_SetName()
                ZMIR* S_SetTitle(const Text_t* s)
                MID_t Mid_SetTitle()
                ZMIR* S_SetGuard(ZMirFilter* guard)
                MID_t Mid_SetGuard()
                ZMIR* S_SetMIRActive(Bool_t miractive)
                MID_t Mid_SetMIRActive()
                ZMIR* S_SetAcceptRefs(Bool_t acceptrefs)
                MID_t Mid_SetAcceptRefs()
                ZMIR* S_SetTimeStamp(TimeStamp_t timestamp)
                MID_t Mid_SetTimeStamp()
                ZMIR* S_SetStampReqTring(TimeStamp_t stampreqtring)
                MID_t Mid_SetStampReqTring()
                ZMIR* S_UpdateGlassView()
                MID_t Mid_UpdateGlassView()
                ZMIR* S_UpdateAllViews()
                MID_t Mid_UpdateAllViews()
                 void _gled_catalog_init()
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
                 void Streamer(TBuffer& b)
                 void StreamerNVirtual(TBuffer& b)
               ZGlass ZGlass(const ZGlass&)
              ZGlass& operator=(const ZGlass&)


Last update: Tue Jun 15 11:36:06 2004


ROOT page - Home page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.