Changeset 3640 in Sophya for trunk/AddOn/TAcq/brpaqu.h
- Timestamp:
- May 27, 2009, 5:15:45 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AddOn/TAcq/brpaqu.h
r3635 r3640 179 179 class BRPaqChecker { 180 180 public: 181 BRPaqChecker( );181 BRPaqChecker(bool cktrl=true, int maxprt=0); 182 182 ~BRPaqChecker(); 183 183 … … 191 191 bool Check(BRPaquet& paq); 192 192 // Imprime le compte de paquets ... 193 ostream & Print(ostream& os); 193 ostream & Print(ostream& os) const; 194 inline ostream & Print() const { return Print(cout); } 194 195 195 196 unsigned long long totnframes; // Nombre totale de frames/paquets traites … … 198 199 unsigned int frclst; // derniere valeur du frame-counter 199 200 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 200 205 UInt64 hdrtag_; 201 206 UInt64 trltag_; 202 207 }; 208 209 // Definition de l'operator << overloading - Appel de Prin() 210 inline ostream& operator << (ostream& s, BRPaqChecker const & chk) 211 { return chk.Print(s); } 203 212 204 213 #endif
Note:
See TracChangeset
for help on using the changeset viewer.