CARMA C++
Offset.h
Go to the documentation of this file.
1 // $Id: Offset.h,v 1.2 2007/06/28 05:03:42 abeard Exp $
2 
3 #ifndef CARMA_ANTENNA_COMMON_OFFSET_H
4 #define CARMA_ANTENNA_COMMON_OFFSET_H
5 
6 #include "carma/services/Angle.h"
7 
17 namespace carma {
18  namespace antenna {
19  namespace common {
20 
24  class Offset {
25  public:
26 
30  Offset();
31 
35  virtual ~Offset();
36 
40  void set(const carma::services::Angle& offset);
41 
46 
47  private:
48  carma::services::Angle offset_;
49  }; // End class Offset
50 
51  } // End namespace common
52  } // End namespace antenna
53 } // End namespace carma
54 
55 
56 
57 #endif // End #ifndef CARMA_ANTENNA_COMMON_OFFSET_H
Representation of an angle, return values are always modulo 2PI radians.
Manages Offset parameters for a Drive Axis.
Definition: Offset.h:24
virtual ~Offset()
Destructor.
void set(const carma::services::Angle &offset)
Set offset to this angle.
carma::services::Angle * getOffset()
Return the angular offset.
The Angle class can represent any angle in any units.
Definition: Angle.h:38