Changeset 16807


Ignore:
Timestamp:
06/11/13 18:20:30 (11 years ago)
Author:
tbretz
Message:
Second argument was missing in all SetCurrentState (although I hope they will disappear soon)
File:
1 edited

Legend:

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

    r16282 r16807  
    11351135    {
    11361136        fAutoStarted = true;
    1137         SetCurrentState(Start());
     1137        SetCurrentState(Start(), "infoCallback");
    11381138//        SetCurrentState(NightlyToWaitRun());
    11391139    }
     
    12271227        {
    12281228            Error("Newly provided run number has already been used (or is still in use). Going to error state");
    1229             SetCurrentState(kSM_BadFolder);
     1229            SetCurrentState(kSM_BadFolder, "AddNewRunNumber");
    12301230            return;
    12311231        }
     
    12521252
    12531253    if (newRun > 0 && GetCurrentState()  == kSM_WaitingRun)
    1254         SetCurrentState(kSM_Logging);
     1254        SetCurrentState(kSM_Logging, "AddNewRunNumber");
    12551255    if (newRun < 0 && GetCurrentState() == kSM_Logging)
    1256         SetCurrentState(kSM_WaitingRun);
     1256        SetCurrentState(kSM_WaitingRun, "AddNewRunNumber");
    12571257}
    12581258// --------------------------------------------------------------------------
     
    13921392        {
    13931393            GoToReady();
    1394             SetCurrentState(kSM_BadFolder);
     1394            SetCurrentState(kSM_BadFolder, "Report");
    13951395            return;
    13961396        }
     
    14011401        {
    14021402            GoToReady();
    1403             SetCurrentState(kSM_BadFolder);
     1403            SetCurrentState(kSM_BadFolder, "Report");
    14041404            return;
    14051405        }
     
    19341934    if ((GetCurrentState() != kSM_RunWriteError) &&
    19351935        (GetCurrentState() != kSM_DailyWriteError))
    1936         SetCurrentState(kSM_RunWriteError);
     1936        SetCurrentState(kSM_RunWriteError, "GoToRunWriteErrorState");
    19371937}
    19381938// --------------------------------------------------------------------------
     
    19431943{
    19441944    if (GetCurrentState() != kSM_DailyWriteError)
    1945         SetCurrentState(kSM_DailyWriteError);
     1945        SetCurrentState(kSM_DailyWriteError, "GoToNightlyWriteErrorState");
    19461946}
    19471947
Note: See TracChangeset for help on using the changeset viewer.