#include <indidustcapinterface.h>
Definition at line 43 of file indidustcapinterface.h.
◆ anonymous enum
◆ anonymous enum
| Enumerator |
|---|
| CAN_ABORT | |
| CAN_SET_POSITION | Can the dust cap abort motion?
|
| CAN_SET_LIMITS | Can the dust go to a specific angular position? UNUSED
|
Definition at line 52 of file indidustcapinterface.h.
◆ DustCapInterface()
| DustCapInterface::DustCapInterface |
( |
DefaultDevice * |
defaultDevice | ) |
|
|
protected |
Dust Cap status: Parked: PARK switch is ON and state is IPS_OK Unparked: UNPARK switch is ON and state is IPS_OK Unknown: PARK and UNPARK are either not toggled or state is IPS_ALERT
Definition at line 35 of file indidustcapinterface.cpp.
◆ ~DustCapInterface()
| virtual INDI::DustCapInterface::~DustCapInterface |
( |
| ) |
|
|
protectedvirtualdefault |
◆ AbortCap()
| IPState DustCapInterface::AbortCap |
( |
| ) |
|
|
protectedvirtual |
◆ initProperties()
| void DustCapInterface::initProperties |
( |
const char * |
group, |
|
|
uint32_t |
capabilities = 0 |
|
) |
| |
|
protected |
Initialize dust cap properties. It is recommended to call this function within initProperties() of your primary device.
- Parameters
-
| group | Group or tab name to be used to define properties. |
| capabilities | Any additional capabilities the dust cap supports besides Parking and Unparking. |
Definition at line 42 of file indidustcapinterface.cpp.
◆ ParkCap()
| IPState DustCapInterface::ParkCap |
( |
| ) |
|
|
protectedvirtual |
Park dust cap (close cover). Must be implemented by child.
- Returns
- If command completed immediately, return IPS_OK. If command is in progress, return IPS_BUSY. If there is an error, return IPS_ALERT
Reimplemented in ALTO, DeepSkyDadFP, DustCoverSimulator, Excalibur, FlipFlat, GeminiFlatpanel, PegasusFlatMasterNeo, SnapCap, WandererCover, WandererCoverV4EC, WandererCoverV4ProEC, WandererEclipse, and AllunaTCS2.
Definition at line 117 of file indidustcapinterface.cpp.
◆ processSwitch()
| bool DustCapInterface::processSwitch |
( |
const char * |
dev, |
|
|
const char * |
name, |
|
|
ISState * |
states, |
|
|
char * |
names[], |
|
|
int |
n |
|
) |
| |
|
protected |
◆ UnParkCap()
| IPState DustCapInterface::UnParkCap |
( |
| ) |
|
|
protectedvirtual |
unPark dust cap (open cover). Must be implemented by child.
- Returns
- If command completed immediately, return IPS_OK. If command is in progress, return IPS_BUSY. If there is an error, return IPS_ALERT
Reimplemented in ALTO, DeepSkyDadFP, DustCoverSimulator, Excalibur, FlipFlat, GeminiFlatpanel, PegasusFlatMasterNeo, SnapCap, WandererCover, WandererCoverV4EC, WandererCoverV4ProEC, WandererEclipse, and AllunaTCS2.
Definition at line 123 of file indidustcapinterface.cpp.
◆ updateProperties()
| bool DustCapInterface::updateProperties |
( |
| ) |
|
|
protected |
updateProperties Defines or Delete properties based on default device connection status
- Returns
- True if all is OK, false otherwise.
Definition at line 59 of file indidustcapinterface.cpp.
◆ AbortCapSP
◆ []
| enum { ... } INDI::DustCapInterface::DustCapCapability |
◆ ParkCapSP
The documentation for this class was generated from the following files: