22 ClassImp(TEveEventManager);
27 TEveEventManager::TEveEventManager(
const char* n,
const char* t) :
28 TEveElementList(n, t),
38 void TEveEventManager::AfterNewEventLoaded()
40 for (std::vector<TString>::iterator i = fNewEventCommands.begin(); i != fNewEventCommands.end(); ++i)
42 gInterpreter->ProcessLine(*i);
49 void TEveEventManager::AddNewEventCommand(
const TString& cmd)
51 fNewEventCommands.push_back(cmd);
57 void TEveEventManager::RemoveNewEventCommand(
const TString& cmd)
59 for (std::vector<TString>::iterator i = fNewEventCommands.begin(); i != fNewEventCommands.end(); ++i)
62 fNewEventCommands.erase(i);
71 void TEveEventManager::ClearNewEventCommands()
73 fNewEventCommands.clear();