Demonstrates usage of simple configuration via TEveParamList class.
class TParamFollower
{
public:
TParamFollower()
{
"TParamFollower", this, "OnParamChanged(char*)");
}
virtual ~TParamFollower()
{
this, "OnParamChanged(char*)");
}
void OnParamChanged(const char* parameter)
{
printf("Change in param-list '%s', parameter '%s'.\n", pl->GetElementName(), parameter);
}
};
void paramlist()
{
new TParamFollower;
}
#define ClassDef(name, id)
R__EXTERN TEveManager * gEve
R__EXTERN void * gTQSender
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
TGListTreeItem * AddToListTree(TEveElement *re, Bool_t open, TGListTree *lt=nullptr)
Collection of named parameters.
This is the ROOT implementation of the Qt object communication mechanism (see also http://www....
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
Bool_t Disconnect(const char *signal=nullptr, void *receiver=nullptr, const char *slot=nullptr)
Disconnects signal of this object from slot of receiver.
- Author
- Matevz Tadel
Definition in file paramlist.C.