CARMA C++
DataCollectorTest.h
1 #ifndef CARMA_PIPELINE_DATACOLLECTORTEST_H
2 #define CARMA_PIPELINE_DATACOLLECTORTEST_H
3 
4 namespace carma {
5  namespace pipeline {
6 
7  class DataContainer;
8 
14  public:
15 
20 
24  DataCollectorTest(int bandNumber);
25 
29  virtual ~DataCollectorTest();
30 
31  private:
32  DataContainer* _dataContainer;
33  long _numWritten; // number of consecutive writes
34  int _bandNumber;
35 
39  void start();
40 
41  // must use a static method in pthread
42  static void* staticStart(void* arg);
43  void fillDataContainer();
44  void update();
45  };
46 
47  } // End namespace pipeline
48 } // End namespace carma
49 
50 #endif
virtual ~DataCollectorTest()
Destructor.
Concrete class mimics a DataCollector but doesn't need CORBA.