- Timestamp:
- May 19, 2021, 7:06:29 PM (5 years ago)
- Branches:
- Candidate_v1.7.0, Candidate_v1.7.1, stable
- Children:
- 923ce2
- Parents:
- 8c9cce
- git-author:
- Frederik Heber <frederik.heber@…> (04/24/19 21:29:22)
- git-committer:
- Frederik Heber <frederik.heber@…> (05/19/21 19:06:29)
- Location:
- src
- Files:
-
- 5 edited
-
Python/PythonScripting_impl.hpp (modified) (1 diff)
-
Python/modules.hpp (modified) (1 diff)
-
Python/wait.cpp (modified) (2 diffs)
-
cleanUp.cpp (modified) (1 diff)
-
cleanUp.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Python/PythonScripting_impl.hpp
r8c9cce recc050 95 95 "Reinitializes the internal state of the python module as if it had been freshly imported,saves all input files beforehand." 96 96 ); 97 boost::python::def (97 boost::python::def< bool() >( 98 98 "wait", 99 99 MoleCuilder::detail::module_wait, -
src/Python/modules.hpp
r8c9cce recc050 25 25 void module_exit(); 26 26 void module_reinit(); 27 voidmodule_wait();27 bool module_wait(); 28 28 29 29 typedef std::vector<atomId_t> atomIdVec; -
src/Python/wait.cpp
r8c9cce recc050 42 42 #include "cleanUp.hpp" 43 43 44 voidMoleCuilder::detail::module_wait()44 bool MoleCuilder::detail::module_wait() 45 45 { 46 bool retval = true; 46 47 // prevent wait() in python scripts in case of present UI (loaded sessions) 47 48 #ifdef HAVE_ACTION_THREAD … … 49 50 LOG(0, "Waiting for action queue to idle."); 50 51 waitQueue(); 52 retval = getOkQueue(); 51 53 } 52 54 #endif 55 return retval; 53 56 } -
src/cleanUp.cpp
r8c9cce recc050 244 244 MoleCuilder::ActionQueue::getInstance().wait(); 245 245 } 246 #endif 246 247 /** Returns whether last action did ok. 248 * 249 */ 250 bool getOkQueue() 251 { 252 return MoleCuilder::ActionQueue::getConstInstance().getLastActionOk(); 253 } 254 #endif 255 256 -
src/cleanUp.hpp
r8c9cce recc050 22 22 void stopQueue(); 23 23 void waitQueue(); 24 bool getOkQueue(); 24 25 #endif 25 26
Note:
See TracChangeset
for help on using the changeset viewer.
