Changeset 559293 for src/Actions/ActionQueue.hpp
- Timestamp:
- Jun 20, 2018, 8:20:43 AM (7 years ago)
- Branches:
- AutomationFragmentation_failures, Candidate_v1.6.1, ChemicalSpaceEvaluator, Exclude_Hydrogens_annealWithBondGraph, ForceAnnealing_with_BondGraph_contraction-expansion, StoppableMakroAction
- Children:
- e3ce0e
- Parents:
- 646f73
- git-author:
- Frederik Heber <frederik.heber@…> (09/13/17 17:19:58)
- git-committer:
- Frederik Heber <frederik.heber@…> (06/20/18 08:20:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/ActionQueue.hpp
r646f73 r559293 180 180 bool isIdle() const; 181 181 182 /** States whether the current Action in the ActionQueue is a Process. 183 * 184 * \return true - ActionQueue is currently executing a process. 185 */ 186 bool isProcess() const; 187 188 /** States whether the current Action in the ActionQueue is a MakroAction. 189 * 190 * \return true - ActionQueue is currently executing a MakroAction. 191 */ 192 bool isMakroAction() const; 193 194 /** Getter to the current Action. 195 * 196 * \note Using this ref is only useful during the execution of the Action, e.g. 197 * when an Action inside the ActionSequence of a MakroAction needs access to the 198 * MakroAction itself (to signal stop). \sa MoleCuilder::ForceAnnealingAction::performCall() 199 * 200 * \warning Due to the multi-threaded nature of the ActionQueue this is very 201 * dangerous to use in other circumstances. 202 * 203 * \return const ref to the currently executed action 204 */ 205 const Action& getCurrentAction() const; 206 182 207 private: 183 208 //!> grant Action access to internal history functions.
Note:
See TracChangeset
for help on using the changeset viewer.