Changeset 14504 for trunk/FACT++


Ignore:
Timestamp:
10/22/12 20:47:49 (12 years ago)
Author:
tbretz
Message:
Allow to reset the new state.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/ftmctrl.cc

    r14503 r14504  
    19571957                return FTM::State::kConfigError2;
    19581958            // ======================
    1959 
    1960             // Check configuration again when a new static data block
    1961             // will be received
    1962             fCounterStat = fFTM.GetCounter(FTM::kStaticData);
    1963 
    19641959            if (!fFtm.IsLocked())
    19651960            {
     
    19671962                 return FTM::State::kConfigError3;
    19681963            }
     1964            // ======================
     1965
     1966            // Check configuration again when a new static data block
     1967            // will be received
     1968            fCounterStat = fFTM.GetCounter(FTM::kStaticData);
    19691969
    19701970            T::Info(" ==> TODO: Update run in database!");
     
    22382238            ("");
    22392239
    2240         T::AddEvent("RESET_CONFIGURE", FTM::State::kConfiguring1, FTM::State::kConfiguring2, FTM::State::kConfigured, FTM::State::kConfigError1, FTM::State::kConfigError2)
     2240        T::AddEvent("RESET_CONFIGURE", FTM::State::kConfiguring1, FTM::State::kConfiguring2, FTM::State::kConfigured, FTM::State::kConfigError1, FTM::State::kConfigError2, FTM::State::kConfigError2)
    22412241            (bind(&StateMachineFTM::ResetConfig, this))
    2242             ("");
     2242            ("Reset states during a configuration or in case of configuration error");
    22432243
    22442244
Note: See TracChangeset for help on using the changeset viewer.