CARMA C++
RxClient.h
Go to the documentation of this file.
1 
2 
13 #ifndef CARMA_BIMA_RXCLIENT_H
14 #define CARMA_BIMA_RXCLIENT_H
15 
16 #include <iosfwd>
17 
21 #include "carma/util/IPQwriter.h"
23 #include "carma/util/Logger.h"
24 #include "carma/util/Trace.h"
25 
26 // NOTE, Matching _rxWriter in class definition
27 // below!
28 #define RWSET(N,V) RCSET(_rxWriter,N,V)
29 
30 namespace carma
31 {
32  namespace antenna
33  {
34  namespace bima
35  {
36  class RxClient : public SharedMemory
37  {
38  public:
39  RxClient( Configuration& config );
40  ~RxClient();
41 
42  Configuration& getConfig() { return _config; }
43 
44  void rxWrite();
45 
46  protected:
47  std::auto_ptr< carma::util::IPQwriter<RxCommand> > _rxWriter;
48 
49  private:
50  Configuration& _config;
51  };
52  }
53  }
54 }
55 
56 
57 
58 #endif // CARMA_BIMA_RXCLIENT_H
Exception class for errors.
Interface file for the carma::util::Trace class and related macros.
Class definition for SharedMemory on the BIMA antennas.
Class definition for RxCommand on the BIMA antennas.
Class definition for Stepper Motors for BIMA systems.