Ignore:
Timestamp:
Jun 20, 2018, 8:20:43 AM (7 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
AutomationFragmentation_failures, Candidate_v1.6.1, ChemicalSpaceEvaluator, Exclude_Hydrogens_annealWithBondGraph, ForceAnnealing_with_BondGraph_contraction-expansion, StoppableMakroAction
Children:
4b2adf
Parents:
559293
git-author:
Frederik Heber <frederik.heber@…> (09/13/17 17:20:35)
git-committer:
Frederik Heber <frederik.heber@…> (06/20/18 08:20:43)
Message:

MakroAction allows getting the internal ActionSequence's current step.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/ActionSequence.hpp

    r559293 re3ce0e  
    6767  void setLoop(unsigned int _loop)
    6868  { loop = _loop; }
     69
     70  unsigned int getStep() const
     71  { return step; }
     72
    6973private:
    7074  actionSet actions;
    7175  //!> how often the sequence is repeated
    7276  unsigned int loop;
     77  //!> current step (used in loops)
     78  unsigned int step;
    7379};
    7480
Note: See TracChangeset for help on using the changeset viewer.