| 40 | |
| 41 | |
| 42 | Rotator::Rotator(rot_model_t rot_model) |
| 43 | { |
| 44 | theRot = rot_init(rot_model); |
| 45 | if (!theRot) |
| 46 | THROW(new RigException ("Rotator initialization error")); |
| 47 | |
| 48 | caps = theRot->caps; |
| 49 | theRot->state.obj = (rig_ptr_t)this; |
| 50 | } |
| 51 | |
| 52 | Rotator::~Rotator() |
| 53 | { |