MantisBT - JANA
View Issue Details
0000388JANAFeature Requestpublic2013-11-18 10:412013-11-18 11:05
davidl 
davidl 
normalminorN/A
resolvedfixed 
0000388: Add GetJEventSources method to JApplication
This is requested by Elliott for the farm manager so that the CODAObject-based plugin can get the pointer to the JEventSource reading from ET and tell it to stop if a end run message comes in.

A convenience method to get a pointer to a specific type of JEventSource would be useful too. This would be templated and do the dynamic_cast for the caller. Something like:

T* GetFirstJEventSource()

which would be called like:

JEventSourceEVIO *evio_src = japp->GetFirstJEventSource<JEventSourceEVIO>();
if(evio_src != NULL){
   // ... do something with evio_src ...
}


No tags attached.
Issue History
2013-11-18 10:41davidlNew Issue
2013-11-18 11:05davidlNote Added: 0000577
2013-11-18 11:05davidlStatusnew => resolved
2013-11-18 11:05davidlResolutionopen => fixed
2013-11-18 11:05davidlAssigned To => davidl

Notes
(0000577)
davidl   
2013-11-18 11:05   
The requested feature was added in svn version 1394 and will appear in jana 0.6.7