122 Error(
"SetToggledObject",
"Method pointer not provided");
124 Error(
"SetToggledObject",
"cannot determine getter method for %s", anymethod->
GetName());
long Long_t
Signed long integer 4 bytes (long). Size depends on architecture.
All ROOT classes may have RTTI (run time type identification) support added.
Method or function calling interface.
Each ROOT class (see TClass) has a linked list of methods.
virtual TDataMember * FindDataMember()
Tries to guess DataMember from comment string and Method's name <==(only if 1 Argument!...
virtual TMethodCall * SetterMethod()
Return call environment for this method in case this is a *TOGGLE method which takes a single boolean...
virtual TMethodCall * GetterMethod()
Return call environment for the getter method in case this is a *TOGGLE method (for the context menu)...
const char * GetName() const override
Returns name of object.
Mother of all ROOT objects.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual TClass * IsA() const
const char * Data() const
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
TToggle()
TToggle default constructor.
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 SetValue(Long_t val)
Sets the value of toggle and modifies its state according to whether the value is equal to fOnValue.
virtual void Toggle()
Toggles the Values and State of this object and connected data!
virtual Bool_t IsInitialized()
TMethodCall * GetSetter() const
return setter method request new for the TDataMember while it can be recreated at any time
TMethodCall * GetGetter() const
return getter method request new for the TDataMember while it can be recreated at any time
virtual void SetToggledObject(TObject *obj, TMethod *anymethod)
Initializes it to toggle an object's datamember using this object's method.
virtual void SetState(Bool_t state)
Sets the value of toggle to fOnValue or fOffValue according to passed argument.
virtual Bool_t GetState()
Returns the state of Toggle according to its current value and fOnValue, returns true if they match.