53 double duration_{0.0};
54 std::string obstruction_{};
55 std::string currentCondition_{};
56 std::string worstCondition_{};
57 double totalDuration_{0.0};
59 const TimePoint& getStartTime()
const {
return startTime_; }
60 const TimePoint& getStopTime()
const {
return stopTime_; }
61 double getDuration()
const {
return duration_; }
62 const std::string& getObstruction()
const {
return obstruction_; }
63 const std::string& getCurrentCondition()
const {
return currentCondition_; }
64 const std::string& getWorstCondition()
const {
return worstCondition_; }
65 double getTotalDuration()
const {
return totalDuration_; }
79 Point* getPoint()
const {
return point_.get(); }
80 void setPoint(
Point* p) { point_ = p; }
81 void setLightSource(CelestialBody* b) { lightSource_ = b; }
82 CelestialBody* getLightSource()
const {
return lightSource_.get(); }
83 void setOccultingBodies(
const std::vector<HCelestialBody>& bodies) { occultingBodies_ = bodies; }
84 void setStepSize(
double s) { stepSize_ =
s; }
88 WeakPtr<Point> point_{
nullptr};
89 WeakPtr<CelestialBody> lightSource_{
nullptr};
90 std::vector<HCelestialBody> occultingBodies_{};
91 double stepSize_{5.0};