Ignore:
Timestamp:
Sep 9, 2002, 5:33:16 PM (23 years ago)
Author:
aubourg
Message:

Vivien, limites processors et connect

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/Kernel/toimanager.h

    r2133 r2187  
    55//                               Christophe Magneville
    66//                               Reza Ansari
    7 // $Id: toimanager.h,v 1.14 2002-07-26 08:52:43 vfebvre Exp $
     7// $Id: toimanager.h,v 1.15 2002-09-09 15:33:15 aubourg Exp $
    88
    99
     
    1717#include "toiprocessor.h"
    1818
     19
     20// -----------ajout cgt vf 19/08/2002
     21
     22#include "toi.h"
     23
     24#include <typeinfo>
     25#include "toiseqbuff.h"
     26#include "toisegment.h"
     27#include "fitstoiwtr.h"
     28
     29#ifdef WITH_SOPHYA
     30#include "pexceptions.h"
     31#else
     32#include "apexceptions.h"
     33#endif
     34
     35#include <pthread.h>
     36// ----------fin ajout cgt
     37
     38
     39
    1940using namespace std;
    2041
     
    2647  int getRequestedEnd();
    2748 
     49  // ajout vf 25/07/2002
    2850  void startAll();
     51  bool checkSamplesLimits(int pass);
     52
    2953  void waitForAll();
    3054
    3155  void joinAll();  // deprecated. Use waitForAll();
    3256   
     57 
     58  // ajout cgt vf 19/08/2002
     59 
     60  void    selectTOISegmented(int bufsz=1024, int maxseg=20);
     61  void    selectTOISeqBuffered(int wsz=8192);
     62
     63  virtual TOI& connect(TOIProcessor& prout, string& out,
     64                       TOIProcessor& prin, string& in, string nom="",
     65                       int wbsz=0, bool withFlag=false);
     66  virtual TOI& connect(TOIProcessor& prout, const char* out,
     67                       TOIProcessor& prin, const char* in, string nom="",
     68                       int wbsz=0, bool withFlag=false);
     69
     70  // fin ajout cgt
     71
     72
     73
     74
    3375protected:
    3476  TOIManager();
     
    4082  void addThread(pthread_t*);
    4183
     84  // ajout vf 25/07/2002
     85 
    4286  vector<TOIProcessor*> processors;
    4387  void registerProcessor(TOIProcessor* proc);
    4488
     89  friend class TOIProcessor;
    4590
    46   friend class TOIProcessor;
     91  // ajout cgt vf 19/08/2002
     92   
     93  bool fgSegmented;     // type de toi
     94  int segBuffsz, segMaxseg;
     95
     96  // fin ajout cgt
     97
    4798};
    4899
     
    79130};
    80131
     132
     133
     134
    81135#endif
    82136
Note: See TracChangeset for help on using the changeset viewer.