CARMA C++
CorrDataConsumer.h
Go to the documentation of this file.
1 #ifndef CARMA_CORRELATOR_OBSRECORD2_CORRDATACONSUMER_H
2 #define CARMA_CORRELATOR_OBSRECORD2_CORRDATACONSUMER_H
3 
4 #include "carma/correlator/obsRecord2/CorbaCorrConsumerStats.h"
5 
6 #include <string>
7 #include <memory>
8 
13 namespace carma {
14 
15 namespace corba {
16 
17  class Server;
18 
19 }
20 
21 namespace correlator {
22 
23 namespace lib {
24 
25 class CorrelatorData;
26 
27 }
28 
29 namespace obsRecord2 {
30 
33  public:
34  class Listener;
35 
38  const std::string & notificationChannelName,
39  Listener & listener );
40 
42  virtual ~CorrDataConsumer( );
43 
48  virtual void getData( );
49 
54 
55  private:
56  // No copying
57  CorrDataConsumer( const CorrDataConsumer & rhs );
58  CorrDataConsumer & operator=( const CorrDataConsumer & rhs );
59 
60  class Impl;
61 
62  ::std::auto_ptr< Impl > impl_;
63 
64 }; // End class CorrDataConsumer
65 
66 
69  public:
70  virtual ~Listener( ) { }
71 
72  virtual void
73  processData( carma::correlator::lib::CorrelatorData * cd ) = 0;
74 };
75 
76 } // End namespace obsRecord2
77 } // End namespace correlator
78 } // End namespace carma
79 #endif
virtual void getData()
Start collecting data.
Structure to hold corr consumer statistics for profiling.
Abstract base class for listener called back by CorrDataConsumer.
Implements CorrConsumer interface for CORBA.
Class used to represents bands of Correlator Data.
CorbaCorrConsumerStats getCorbaCorrConsumerStats()
Get Deserialization stats.
CorrDataConsumer(carma::corba::Server &server, const std::string &notificationChannelName, Listener &listener)
Constructor.
Class for creating, managing and serving requests to CORBA servants.
Definition: Server.h:22