#include <Stack.h>
Public Types | |
| typedef std::list< Job * > | JobList |
Public Member Functions | |
| void | AdoptJob (Job *j) |
| void | CleanUp () |
| void | Exec (edm::EventHandle &e) |
| void | PrintAll () |
| void | Run () |
| void | RunOne () |
| const JobList & | GetList () const |
Static Public Member Functions | |
| Stack & | Instance () |
Private Attributes | |
| JobList | fJobStack |
| List of jobs to be run. | |
Static Private Attributes | |
| Stack * | fInstance = 0 |
| The sole instance. | |
Definition at line 14 of file JobControl/Stack.h.
|
|
Definition at line 25 of file JobControl/Stack.h. |
|
|
Definition at line 57 of file Stack.cxx. References fJobStack. Referenced by jobc::jobBuilder::Build(). 00057 { fJobStack.push_back(j); }
|
|
|
Definition at line 32 of file Stack.cxx. References fJobStack. 00033 {
00034 std::list<Job*>::iterator itr(fJobStack.begin());
00035 std::list<Job*>::iterator itrEnd(fJobStack.end());
00036 for (; itr!=itrEnd; ++itr) {
00037 if (*itr) delete *itr;
00038 }
00039 }
|
|
|
Definition at line 43 of file Stack.cxx. References fJobStack. 00044 {
00045 std::list<Job*>::iterator itr(fJobStack.begin());
00046 std::list<Job*>::iterator itrEnd(fJobStack.end());
00047 for (; itr!=itrEnd; ++itr) {
00048 if (*itr) {
00049 (*itr)->CheckStatus(std::string(""),&e);
00050 (*itr)->Exec(e);
00051 }
00052 }
00053 }
|
|
|
Definition at line 26 of file JobControl/Stack.h. Referenced by jobc::XMLConfiguration(). 00026 { return fJobStack; }
|
|
|
Definition at line 13 of file Stack.cxx. References fInstance. Referenced by jobc::jobBuilder::Build(), main(), evdb::JobMenu::OpenJobXML(), evdb::JobInterface::ProcEvent(), and jobc::XMLConfiguration().
|
|
|
Definition at line 21 of file Stack.cxx. References fJobStack. 00022 {
00023 std::list<Job*>::iterator itr(fJobStack.begin());
00024 std::list<Job*>::iterator itrEnd(fJobStack.end());
00025 for (; itr!=itrEnd; ++itr) {
00026 (*itr)->Print();
00027 }
00028 }
|
|
|
Definition at line 61 of file Stack.cxx. References fJobStack. Referenced by RunOne(). 00062 {
00063 std::list<Job*>::iterator itr(fJobStack.begin());
00064 std::list<Job*>::iterator itrEnd(fJobStack.end());
00065 for (; itr!=itrEnd; ++itr) {
00066 (*itr)->Run(-1); // -1 is flag for "all events"
00067 }
00068 }
|
|
|
Definition at line 72 of file Stack.cxx. References fJobStack, and Run(). 00073 {
00074 std::list<Job*>::iterator itr(fJobStack.begin());
00075 std::list<Job*>::iterator itrEnd(fJobStack.end());
00076 for (; itr!=itrEnd; ++itr) (*itr)->Run(0);
00077 }
|
|
|
The sole instance.
Definition at line 11 of file Stack.cxx. Referenced by Instance(). |
|
|
List of jobs to be run.
Definition at line 30 of file JobControl/Stack.h. Referenced by AdoptJob(), CleanUp(), Exec(), PrintAll(), Run(), and RunOne(). |
1.3.9.1