![]() |
Belle II Software release-09-00-03
|

Public Member Functions | |
| ProcessController (RCCallback *callback) | |
| bool | init (const std::string &parname, int nodeid=0) |
| void | clear () |
| bool | load (int timeout) |
| bool | start (int expno, int runno) |
| bool | pause () |
| bool | resume () |
| bool | stop () |
| bool | abort (unsigned int timeout=60) |
| const std::string & | getName () |
| const std::string & | getParName () |
| const std::string & | getExecutable () |
| RunInfoBuffer & | getInfo () |
| RCCallback * | getCallback () |
| const Process & | getProcess () const |
| Process & | getProcess () |
| void | setCallback (RCCallback *callback) |
| void | setName (const std::string &name) |
| void | setExecutable (const std::string &exe) |
| void | addArgument (const std::string &arg) |
| void | addArgument (const char *format,...) |
| template<typename T > | |
| void | addArgument (T arg) |
| void | clearArguments () |
| bool | isAlive () const |
| bool | waitReady (int timeout) |
| void | lock () |
| void | unlock () |
Private Attributes | |
| RunInfoBuffer | m_info |
| std::string | m_name |
| std::string | m_parname |
| RCCallback * | m_callback |
| std::string | m_exename |
| std::vector< std::string > | m_arg_v |
| Process | m_process |
| Mutex | m_mutex |
| std::string | m_message |
| PThread | m_th_log |
| PThread | m_th_process |
| int | m_iopipe [2] |
Friends | |
| class | ProcessSubmitter |
Definition at line 28 of file ProcessController.h.
|
inline |
Definition at line 33 of file ProcessController.h.
|
inline |
Definition at line 37 of file ProcessController.h.
|
inline |
Definition at line 41 of file ProcessController.h.
| bool abort | ( | unsigned int | timeout = 60 | ) |
Definition at line 123 of file ProcessController.cc.
| void addArgument | ( | const char * | format, |
| ... | |||
| ) |
Definition at line 173 of file ProcessController.cc.
|
inline |
Definition at line 73 of file ProcessController.h.
| void clear | ( | ) |
Definition at line 39 of file ProcessController.cc.
|
inline |
Definition at line 77 of file ProcessController.h.
|
inline |
Definition at line 67 of file ProcessController.h.
|
inline |
Definition at line 65 of file ProcessController.h.
|
inline |
Definition at line 66 of file ProcessController.h.
|
inline |
Definition at line 63 of file ProcessController.h.
|
inline |
Definition at line 64 of file ProcessController.h.
|
inline |
Definition at line 69 of file ProcessController.h.
|
inline |
Definition at line 68 of file ProcessController.h.
| bool init | ( | const std::string & | parname, |
| int | nodeid = 0 |
||
| ) |
Definition at line 27 of file ProcessController.cc.
|
inline |
Definition at line 78 of file ProcessController.h.
| bool load | ( | int | timeout | ) |
Definition at line 52 of file ProcessController.cc.
|
inline |
Definition at line 82 of file ProcessController.h.
| bool pause | ( | ) |
Definition at line 101 of file ProcessController.cc.
| bool resume | ( | ) |
Definition at line 112 of file ProcessController.cc.
|
inline |
Definition at line 70 of file ProcessController.h.
|
inline |
Definition at line 72 of file ProcessController.h.
|
inline |
Definition at line 71 of file ProcessController.h.
| bool start | ( | int | expno, |
| int | runno | ||
| ) |
Definition at line 74 of file ProcessController.cc.
| bool stop | ( | ) |
Definition at line 88 of file ProcessController.cc.
|
inline |
Definition at line 83 of file ProcessController.h.
| bool waitReady | ( | int | timeout | ) |
Definition at line 44 of file ProcessController.cc.
|
friend |
Definition at line 30 of file ProcessController.h.
|
private |
Definition at line 91 of file ProcessController.h.
|
private |
Definition at line 89 of file ProcessController.h.
|
private |
Definition at line 90 of file ProcessController.h.
|
private |
Definition at line 86 of file ProcessController.h.
|
private |
Definition at line 97 of file ProcessController.h.
|
private |
Definition at line 94 of file ProcessController.h.
|
private |
Definition at line 93 of file ProcessController.h.
|
private |
Definition at line 87 of file ProcessController.h.
|
private |
Definition at line 88 of file ProcessController.h.
|
private |
Definition at line 92 of file ProcessController.h.
|
private |
Definition at line 95 of file ProcessController.h.
|
private |
Definition at line 96 of file ProcessController.h.