TToggle
class description - source file - inheritance tree
public:
TToggle(const TToggle&)
TToggle()
~TToggle()
static TClass* Class()
virtual Long_t GetOffValue()
virtual Long_t GetOnValue()
virtual Bool_t GetState()
virtual Int_t GetValue()
virtual TClass* IsA() const
virtual Bool_t IsInitialized()
virtual void SetOffValue(Long_t lof)
virtual void SetOnValue(Long_t lon)
virtual void SetState(Bool_t state)
virtual void SetToggledObject(TObject* obj, TMethod* anymethod)
virtual void SetToggledVariable(Int_t& var)
virtual void SetValue(Long_t val)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
virtual void Toggle()
private:
Bool_t fState Object's state - "a local copy"
Long_t fOnValue Value recognized as switched ON (Def=1)
Long_t fOffValue Value recognized as switched OFF(Def=0)
Long_t fValue Local copy of a value returned by called function
protected:
Bool_t fInitialized True if either SetToggledObject or SetToggledVariable called - enables Toggle() method.
TObject* fObject The object this Toggle belongs to
TMethodCall* fGetter Method to Get a value of fObject;
TMethodCall* fSetter Method to Set a value of fObject;
Int_t* fTglVariable Alternatively: pointer to an integer value to be Toggled instead of TObjectl
Last update: Fri May 14 13:32:44 2004
ROOT page - Class index - 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.