CARMA C++
|
Define a class to encapsulate a variety of offsets. More...
#include <carma/antenna/sza/antenna/control/OffsetBase.h>
Public Member Functions | |
virtual void | apply (PointingCorrections *f) |
Apply these offsets to the pointing model. More... | |
OffsetBase () | |
Constructor. More... | |
virtual void | set (sza::util::OffsetMsg) |
Install new offsets received from the control program. More... | |
virtual void | set (sza::util::OffsetMsg, unsigned seq) |
Install new offsets received from the control program, with sequence number. More... | |
virtual void | setAngle (double angle) |
Set an angle. More... | |
double | wrap2pi (double angle) |
Round an angle into the range 0-2.pi. More... | |
double | wrapPi (double angle) |
Round an angle into the range -pi..pi. More... | |
virtual | ~OffsetBase ()=0 |
Pure virtual destructor prevents instantiation of OffsetBase. More... | |
Define a class to encapsulate a variety of offsets.
Definition at line 27 of file OffsetBase.h.
sza::antenna::control::OffsetBase::OffsetBase | ( | ) |
Constructor.
|
pure virtual |
Pure virtual destructor prevents instantiation of OffsetBase.
|
virtual |
Apply these offsets to the pointing model.
Reimplemented in sza::antenna::control::SkyOffset, and sza::antenna::control::EquatOffset.
|
virtual |
Install new offsets received from the control program.
Reimplemented in sza::antenna::control::SkyOffset, sza::antenna::control::EquatOffset, sza::antenna::control::TvOffset, and sza::antenna::control::MountOffset.
|
virtual |
Install new offsets received from the control program, with sequence number.
|
virtual |
Set an angle.
Reimplemented in sza::antenna::control::TvOffset.
double sza::antenna::control::OffsetBase::wrap2pi | ( | double | angle | ) |
Round an angle into the range 0-2.pi.
double sza::antenna::control::OffsetBase::wrapPi | ( | double | angle | ) |
Round an angle into the range -pi..pi.