Changeset View
Changeset View
Standalone View
Standalone View
kstars/ekos/manager.cpp
Show First 20 Lines • Show All 3330 Lines • ▼ Show 20 Line(s) | 3283 | { | |||
---|---|---|---|---|---|
3331 | } | 3331 | } | ||
3332 | 3332 | | |||
3333 | // Capture <---> Focus connections | 3333 | // Capture <---> Focus connections | ||
3334 | if (captureProcess.get() && focusProcess.get()) | 3334 | if (captureProcess.get() && focusProcess.get()) | ||
3335 | { | 3335 | { | ||
3336 | // Check focus HFR value | 3336 | // Check focus HFR value | ||
3337 | connect(captureProcess.get(), &Ekos::Capture::checkFocus, focusProcess.get(), &Ekos::Focus::checkFocus, | 3337 | connect(captureProcess.get(), &Ekos::Capture::checkFocus, focusProcess.get(), &Ekos::Focus::checkFocus, | ||
3338 | Qt::UniqueConnection); | 3338 | Qt::UniqueConnection); | ||
3339 | | ||||
3339 | // Reset Focus | 3340 | // Reset Focus | ||
3340 | connect(captureProcess.get(), &Ekos::Capture::resetFocus, focusProcess.get(), &Ekos::Focus::resetFrame, | 3341 | connect(captureProcess.get(), &Ekos::Capture::resetFocus, focusProcess.get(), &Ekos::Focus::resetFrame, | ||
3341 | Qt::UniqueConnection); | 3342 | Qt::UniqueConnection); | ||
3342 | 3343 | | |||
3343 | // New Focus Status | 3344 | // New Focus Status | ||
3344 | connect(focusProcess.get(), &Ekos::Focus::newStatus, captureProcess.get(), &Ekos::Capture::setFocusStatus, | 3345 | connect(focusProcess.get(), &Ekos::Focus::newStatus, captureProcess.get(), &Ekos::Capture::setFocusStatus, | ||
3345 | Qt::UniqueConnection); | 3346 | Qt::UniqueConnection); | ||
3346 | // New Focus HFR | 3347 | // New Focus HFR | ||
3347 | connect(focusProcess.get(), &Ekos::Focus::newHFR, captureProcess.get(), &Ekos::Capture::setHFR, Qt::UniqueConnection); | 3348 | connect(focusProcess.get(), &Ekos::Focus::newHFR, captureProcess.get(), &Ekos::Capture::setHFR, Qt::UniqueConnection); | ||
3349 | | ||||
3350 | // New Focus temperature delta | ||||
3351 | connect(focusProcess.get(), &Ekos::Focus::newFocusTemperatureDelta, captureProcess.get(), &Ekos::Capture::setFocusTemperatureDelta, Qt::UniqueConnection); | ||||
3348 | } | 3352 | } | ||
3349 | 3353 | | |||
3350 | // Capture <---> Align connections | 3354 | // Capture <---> Align connections | ||
3351 | if (captureProcess.get() && alignProcess.get()) | 3355 | if (captureProcess.get() && alignProcess.get()) | ||
3352 | { | 3356 | { | ||
3353 | // Alignment flag | 3357 | // Alignment flag | ||
3354 | connect(alignProcess.get(), &Ekos::Align::newStatus, captureProcess.get(), &Ekos::Capture::setAlignStatus, | 3358 | connect(alignProcess.get(), &Ekos::Align::newStatus, captureProcess.get(), &Ekos::Capture::setAlignStatus, | ||
3355 | Qt::UniqueConnection); | 3359 | Qt::UniqueConnection); | ||
▲ Show 20 Lines • Show All 210 Lines • Show Last 20 Lines |