40 #ifndef ROOT_TMethodCall
virtual void SetOffValue(Long_t lof)
This class defines toggling facility for both - object's method or variables.
virtual void SetState(Bool_t state)
Sets the value of toggle to fOnValue or fOffValue according to passed argument.
virtual Long_t GetOffValue()
virtual Long_t GetOnValue()
virtual void Toggle()
Toggles the Values and State of this object and connected data!
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
TMethodCall * GetSetter() const
virtual Bool_t GetState()
Returns the state of Toggle according to its current value and fOnValue, returns true if they match...
TMethodCall * GetGetter() const
Method or function calling interface.
virtual void SetValue(Long_t val)
Sets the value of toggle and modifies its state according to whether the value is equal to fOnValue...
virtual void SetOnValue(Long_t lon)
virtual void SetToggledVariable(Int_t &var)
Initializes object for use with a variable - you pass it via reference so it will be modified by Togg...
virtual void SetToggledObject(TObject *obj, TMethod *anymethod)
Initializes it to toggle an object's datamember using this object's method.
virtual Bool_t IsInitialized()
Mother of all ROOT objects.
Each ROOT class (see TClass) has a linked list of methods.