Changeset 12333 for trunk


Ignore:
Timestamp:
10/30/11 22:35:30 (13 years ago)
Author:
tbretz
Message:
Added GetNumFilesOpen and IncreaseRunNumber.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/EventBuilderWrapper.h

    r12286 r12333  
    403403    bool IsDisconnected(int i) const  { return gi_NumConnect[i]<=0 && g_port[i].sockDef==0; }
    404404    int  GetNumConnected(int i) const { return gi_NumConnect[i]; }
     405    int GetNumFilesOpen() const       { return fFiles.size(); }
    405406
    406407    /*
     
    926927    }
    927928
     929    void IncreaseRunNumber(uint32_t run)
     930    {
     931        if (run>fRunNumber)
     932            fRunNumber = run;
     933    }
     934
    928935    void gotNewRun(int runnr, PEVNT_HEADER */*headers*/)
    929936    {
Note: See TracChangeset for help on using the changeset viewer.