5 #include <TObjString.h>
10 //______________________________________________________________________
16 EventBase::EventBase(const Text_t* n, const Text_t* t) :
17 RenderElementList(n, t),
21 /**************************************************************************/
23 void EventBase::AfterNewEventLoaded()
25 TIter next(&fNewEventCommands);
27 while ((o = next())) {
28 TObjString* s = dynamic_cast<TObjString*>(o);
30 gInterpreter->ProcessLine(s->String());
34 void EventBase::AddNewEventCommand(const Text_t* cmd)
36 fNewEventCommands.Add(new TObjString(cmd));