Changeset 17fceea for src/Actions/ActionQueue.hpp
- Timestamp:
- Sep 13, 2017, 5:19:58 PM (8 years ago)
- Children:
- 15acdb
- Parents:
- ab3827
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/Actions/ActionQueue.hpp ¶
rab3827 r17fceea 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.