42 AST_PROPERT(minPropTime)
43 AST_PROPERT(maxPropTime)
44 AST_PROPERT(useMaxPropTime)
45 AST_PROPERT(useMaxPropTimeWarn)
46 AST_PROPERT(overrideMaxPropTime)
60 HPOP* propagator()
const {
return propagator_.get(); }
61 void setPropagator(HPOP* propagator) { propagator_ = propagator; }
62 void addEventDetector(EventDetector* eventDetector) { eventDetectors_.push_back(eventDetector); }
63 EventDetector* getEventDetector(StringView name)
const;
64 const std::vector<SharedPtr<EventDetector>>& eventDetectors()
const {
return eventDetectors_; }
65 void setEventDetectors(
const std::vector<SharedPtr<EventDetector>>& eventDetectors) { eventDetectors_ = eventDetectors; }
67 EDirection direction()
const {
return direction_; }
68 void setDirection(EDirection direction) { direction_ = direction; }
70 double minPropTime()
const {
return minPropTime_; }
71 void setMinPropTime(
double minPropTime) { minPropTime_ = minPropTime; }
73 double maxPropTime()
const {
return maxPropTime_; }
74 void setMaxPropTime(
double maxPropTime) { maxPropTime_ = maxPropTime; }
76 bool useMaxPropTime()
const {
return useMaxPropTime_; }
77 void setUseMaxPropTime(
bool useMaxPropTime) { useMaxPropTime_ = useMaxPropTime; }
79 bool useMaxPropTimeWarn()
const {
return useMaxPropTimeWarn_; }
80 void setUseMaxPropTimeWarn(
bool useMaxPropTimeWarn) { useMaxPropTimeWarn_ = useMaxPropTimeWarn; }
82 bool overrideMaxPropTime()
const {
return overrideMaxPropTime_; }
83 void setOverrideMaxPropTime(
bool overrideMaxPropTime) { overrideMaxPropTime_ = overrideMaxPropTime; }
85 WeakPtr<HPOP> propagator_;
86 std::vector<SharedPtr<EventDetector>> eventDetectors_;
87 double minPropTime_{0};
88 double maxPropTime_{8640000};
89 bool useMaxPropTime_{
true};
90 bool useMaxPropTimeWarn_{
true};
91 bool overrideMaxPropTime_{
true};
92 EDirection direction_{eAuto};