GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
void Watcher::SetDirectory ( TDirectory *  mother_dir_of_watcher,
TDirectory *  mother_dir_tag,
Bool_t  load_objects = true 
)
virtualinherited

to change the directory in which watcher's objects are stored

  • if mother_dir_of_watcher == 0x0 all objects are removed from the directory they belong to
  • try to creat a subdir of mother_dir_of_watcher (or check if it already exists) with the name of the watcher in case of success all objects in the pool belongs to the new directory otherwise objects don't belong to any directory

Reimplemented in Gw::TTreeWithConditions, and Gw::FrameDispatcher.

Definition at line 458 of file Watchers.cpp.