Trait ascom_alpaca::api::Dome
source · pub trait Dome: Device + Send + Sync {
Show 25 methods
// Provided methods
fn altitude<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<f64>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn at_home<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn at_park<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn azimuth<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<f64>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn can_find_home<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn can_park<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn can_set_altitude<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn can_set_azimuth<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn can_set_park<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn can_set_shutter<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn can_slave<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn can_sync_azimuth<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn shutter_status<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<DomeShutterStatus>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn slaved<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn set_slaved<'life0, 'async_trait>(
&'life0 self,
slaved: bool
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn slewing<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn abort_slew<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn close_shutter<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn find_home<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn open_shutter<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn park<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn set_park<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn slew_to_altitude<'life0, 'async_trait>(
&'life0 self,
altitude: f64
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn slew_to_azimuth<'life0, 'async_trait>(
&'life0 self,
azimuth: f64
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn sync_to_azimuth<'life0, 'async_trait>(
&'life0 self,
azimuth: f64
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
}
dome
only.Expand description
Dome Specific Methods
Provided Methods§
sourcefn altitude<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<f64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn altitude<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<f64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
The dome altitude (degrees, horizon zero and increasing positive to 90 zenith).
Definition before the #[async_trait]
expansion:
async fn altitude(&self) -> ASCOMResult<f64>
sourcefn at_home<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn at_home<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Indicates whether the dome is in the home position. This is normally used following a FindHome() operation. The value is reset with any azimuth slew operation that moves the dome away from the home position. AtHome may also become true durng normal slew operations, if the dome passes through the home position and the dome controller hardware is capable of detecting that; or at the end of a slew operation if the dome comes to rest at the home position.
Definition before the #[async_trait]
expansion:
async fn at_home(&self) -> ASCOMResult<bool>
sourcefn at_park<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn at_park<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
True if the dome is in the programmed park position. Set only following a Park() operation and reset with any slew operation.
Definition before the #[async_trait]
expansion:
async fn at_park(&self) -> ASCOMResult<bool>
sourcefn azimuth<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<f64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn azimuth<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<f64>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns the dome azimuth (degrees, North zero and increasing clockwise, i.e., 90 East, 180 South, 270 West)
Definition before the #[async_trait]
expansion:
async fn azimuth(&self) -> ASCOMResult<f64>
sourcefn can_find_home<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn can_find_home<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
True if the dome can move to the home position.
Definition before the #[async_trait]
expansion:
async fn can_find_home(&self) -> ASCOMResult<bool>
sourcefn can_park<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn can_park<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
True if the dome is capable of programmed parking (Park() method)
Definition before the #[async_trait]
expansion:
async fn can_park(&self) -> ASCOMResult<bool>
sourcefn can_set_altitude<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn can_set_altitude<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
True if driver is capable of setting the dome altitude.
Definition before the #[async_trait]
expansion:
async fn can_set_altitude(&self) -> ASCOMResult<bool>
sourcefn can_set_azimuth<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn can_set_azimuth<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
True if driver is capable of setting the dome azimuth.
Definition before the #[async_trait]
expansion:
async fn can_set_azimuth(&self) -> ASCOMResult<bool>
sourcefn can_set_park<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn can_set_park<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
True if driver is capable of setting the dome park position.
Definition before the #[async_trait]
expansion:
async fn can_set_park(&self) -> ASCOMResult<bool>
sourcefn can_set_shutter<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn can_set_shutter<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
True if driver is capable of automatically operating shutter
Definition before the #[async_trait]
expansion:
async fn can_set_shutter(&self) -> ASCOMResult<bool>
sourcefn can_slave<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn can_slave<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
True if driver is capable of slaving to a telescope.
Definition before the #[async_trait]
expansion:
async fn can_slave(&self) -> ASCOMResult<bool>
sourcefn can_sync_azimuth<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn can_sync_azimuth<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
True if driver is capable of synchronizing the dome azimuth position using the SyncToAzimuth(Double) method.
Definition before the #[async_trait]
expansion:
async fn can_sync_azimuth(&self) -> ASCOMResult<bool>
sourcefn shutter_status<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<DomeShutterStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn shutter_status<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<DomeShutterStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns the status of the dome shutter or roll-off roof.
Definition before the #[async_trait]
expansion:
async fn shutter_status(&self) -> ASCOMResult<DomeShutterStatus>
sourcefn slaved<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn slaved<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
True if the dome is slaved to the telescope in its hardware, else False.
Definition before the #[async_trait]
expansion:
async fn slaved(&self) -> ASCOMResult<bool>
sourcefn set_slaved<'life0, 'async_trait>(
&'life0 self,
slaved: bool
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_slaved<'life0, 'async_trait>(
&'life0 self,
slaved: bool
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sets the current subframe height.
Definition before the #[async_trait]
expansion:
async fn set_slaved(&self, slaved: bool) -> ASCOMResult
sourcefn slewing<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn slewing<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
True if any part of the dome is currently moving, False if all dome components are steady.
Definition before the #[async_trait]
expansion:
async fn slewing(&self) -> ASCOMResult<bool>
sourcefn abort_slew<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn abort_slew<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Calling this method will immediately disable hardware slewing (Slaved will become False).
Definition before the #[async_trait]
expansion:
async fn abort_slew(&self) -> ASCOMResult
sourcefn close_shutter<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn close_shutter<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Close the shutter or otherwise shield telescope from the sky.
Definition before the #[async_trait]
expansion:
async fn close_shutter(&self) -> ASCOMResult
sourcefn find_home<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn find_home<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
After Home position is established initializes Azimuth to the default value and sets the AtHome flag.
Definition before the #[async_trait]
expansion:
async fn find_home(&self) -> ASCOMResult
sourcefn open_shutter<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn open_shutter<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Open shutter or otherwise expose telescope to the sky.
Definition before the #[async_trait]
expansion:
async fn open_shutter(&self) -> ASCOMResult
sourcefn park<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn park<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
After assuming programmed park position, sets AtPark flag.
Definition before the #[async_trait]
expansion:
async fn park(&self) -> ASCOMResult
sourcefn set_park<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_park<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Set the current azimuth, altitude position of dome to be the park position.
Definition before the #[async_trait]
expansion:
async fn set_park(&self) -> ASCOMResult
sourcefn slew_to_altitude<'life0, 'async_trait>(
&'life0 self,
altitude: f64
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn slew_to_altitude<'life0, 'async_trait>(
&'life0 self,
altitude: f64
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Slew the dome to the given altitude position.
Definition before the #[async_trait]
expansion:
async fn slew_to_altitude(&self, altitude: f64) -> ASCOMResult
sourcefn slew_to_azimuth<'life0, 'async_trait>(
&'life0 self,
azimuth: f64
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn slew_to_azimuth<'life0, 'async_trait>(
&'life0 self,
azimuth: f64
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Slew the dome to the given azimuth position.
Definition before the #[async_trait]
expansion:
async fn slew_to_azimuth(&self, azimuth: f64) -> ASCOMResult
sourcefn sync_to_azimuth<'life0, 'async_trait>(
&'life0 self,
azimuth: f64
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sync_to_azimuth<'life0, 'async_trait>(
&'life0 self,
azimuth: f64
) -> Pin<Box<dyn Future<Output = ASCOMResult> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Synchronize the current position of the dome to the given azimuth.
Definition before the #[async_trait]
expansion:
async fn sync_to_azimuth(&self, azimuth: f64) -> ASCOMResult