Changeset 3640 in Sophya for trunk/AddOn/TAcq/brpaqu.h


Ignore:
Timestamp:
May 27, 2009, 5:15:45 PM (16 years ago)
Author:
ansari
Message:

Correction et ameliorations multiples - en particulier mcrd.cc, brproc.cc et brfitsrd.cc, Reza 27/05/2009

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/AddOn/TAcq/brpaqu.h

    r3635 r3640  
    179179class BRPaqChecker {
    180180public:
    181   BRPaqChecker();
     181  BRPaqChecker(bool cktrl=true, int maxprt=0);
    182182  ~BRPaqChecker();
    183183
     
    191191  bool Check(BRPaquet& paq);
    192192  // Imprime le compte de paquets ...
    193   ostream & Print(ostream& os);
     193  ostream & Print(ostream& os) const;
     194  inline ostream & Print() const { return Print(cout); }
    194195
    195196  unsigned long long totnframes;    // Nombre totale de frames/paquets traites
     
    198199  unsigned int frclst;         // derniere valeur du frame-counter
    199200
     201  bool cktrl_;    // Verifie aussi le trailer si true
     202  unsigned int cnt_saut;          // Nb de fois ou DeltaFrameCounter>1
     203  unsigned int maxprt_;        // Nb maxi de print paquets perdus / probleme
     204
    200205  UInt64 hdrtag_;
    201206  UInt64 trltag_;
    202207};
     208
     209// Definition de l'operator << overloading - Appel de Prin()
     210inline ostream& operator << (ostream& s, BRPaqChecker const & chk)
     211  {  return chk.Print(s);  }
    203212
    204213#endif
Note: See TracChangeset for help on using the changeset viewer.