Script TheSky  Version 1.32
Public Slots | Properties | List of all members
CameraDependentSetting Class Reference

TheSky CameraDependentSetting object. More...

Inheritance diagram for CameraDependentSetting:

Public Slots

QVariantList availableOptions ()
 This methods returns all available options for the camera specific setting as an array of strings. More...
 

Properties

QString settingName
 This property holds the name of the camera dependent setting. More...
 
int autoguiderCDS
 This property determines if this object represents the imager or the autoguider. More...
 
QString currentOption
 This property holds the current, selected option.
 

Detailed Description

TheSky CameraDependentSetting object.

TheSky's camera driver model allows third party drivers the ability to implement an open-ended, camera dependent setting along with its corresponding set of available options. In other words, what this camera setting actually does isn't known to nor dictated by TheSky but rather the camera driver only. Again, this setting and its options are not necessarily available for all camera's but rather depend on the specific camera in use. This object allows scripted access to return the name of this setting, the ability to read and write current setting value as well as enumerate all possible options for this setting. If the camera being controlled by TheSky doesn't leverage the camera dependent setting ability, this object will throw a run-time exception. This object was added in TheSky build 11586, see Application.build.

Member Function Documentation

◆ availableOptions

QVariantList CameraDependentSetting::availableOptions ( )
slot

This methods returns all available options for the camera specific setting as an array of strings.

The index of zero is the first available option, an index of 1 is the second available option, etc. Use the programming language specific means to return the size of the array if necessary, (vbscript UBound(myArray), javascript myArray.length, etc.)

Property Documentation

◆ autoguiderCDS

int CameraDependentSetting::autoguiderCDS
readwrite

This property determines if this object represents the imager or the autoguider.

A value of zero, the default, is the imager while a value of 1 is the autoguider).

◆ settingName

QString CameraDependentSetting::settingName
read

This property holds the name of the camera dependent setting.

This name can be used to uniquely identify this particular camera dependent setting, provided the camera driver properly follows implementation recommendations. The unique name can provide a means for third party scripters to use this camera depedent setting under differing contexts.

ScriptTheSkyX Examples
(C) Software Bisque, Inc. All rights reserved.