CARMA C++
CorbaCorrConsumer.h
Go to the documentation of this file.
1 #ifndef CARMA_CORRELATOR_OBSRECORD2_CORBACORRCONSUMER_H
2 #define CARMA_CORRELATOR_OBSRECORD2_CORBACORRCONSUMER_H
3 
4 #include "carma/correlator/obsRecord2/CorbaCorrConsumerStats.h"
5 
6 #include <string>
7 #include <memory>
8 
13 namespace carma {
14 
15  namespace util {
16  class Orb;
17  }
18 
19 namespace correlator {
20 
21 namespace lib {
22 
23 class CorrelatorData;
24 
25 }
26 
27 namespace obsRecord2 {
28 
31  public:
32  class Listener;
33 
34  CorbaCorrConsumer( carma::util::Orb * localOrb,
35  const std::string & notificationChannelName,
36  Listener & listener );
37 
39  virtual ~CorbaCorrConsumer( );
40 
45  virtual void getData( );
46 
51 
52  private:
53  // No copying
54  CorbaCorrConsumer( const CorbaCorrConsumer & rhs );
55  CorbaCorrConsumer & operator=( const CorbaCorrConsumer & rhs );
56 
57  class CorrDataConsumer;
58  class Impl;
59 
60  ::std::auto_ptr< Impl > impl_;
61 
62 }; // End class CorbaCorrConsumer
63 
64 
67  public:
68  virtual ~Listener( ) { }
69 
70  virtual void
71  processData( carma::correlator::lib::CorrelatorData * cd ) = 0;
72 };
73 
74 
75 } // End namespace obsRecord2
76 } // End namespace correlator
77 } // End namespace carma
78 
79 
80 #endif
virtual void getData()
Start collecting data.
Structure to hold corr consumer statistics for profiling.
CorbaCorrConsumerStats getCorbaCorrConsumerStats()
Get Deserialization stats.
Implements CorrConsumer interface for CORBA.
Class used to represents bands of Correlator Data.
Implements CorrConsumer interface for CORBA.
Abstract base class for listener called back by CorbaCorrConsumer.