X2 Standard  Version 1.24
Public Member Functions | List of all members
ModalSettingsDialogInterface Class Referenceabstract

The ModalSettingsDialogInterface allows X2 implementors to display a customized settings user interface. More...

#include <modalsettingsdialoginterface.h>

Inheritance diagram for ModalSettingsDialogInterface:
X2Camera X2FilterWheel X2Rotator

Public Member Functions

virtual int initModalSettingsDialog (void)=0
 
virtual int execModalSettingsDialog (void)=0
 

Detailed Description

The ModalSettingsDialogInterface allows X2 implementors to display a customized settings user interface.

X2 implementors can implement this interface to have TheSky display their own, modal, settings user interface.

Warning, if this interface is implemented without a using X2GUIInterace, the resulting X2 driver will require either some kind of cross platform windowing library or windowing code native to each operating system.
Instead, X2 implementors are encouraged to use the X2GUIInterace in their implementation of this interface (see the X2Camera for a complete example) to keep their driver more maintainable and portable across operating systems and to simplify their driver distribution.

See also
SerialPortParams2Interface

Member Function Documentation

◆ execModalSettingsDialog()

virtual int ModalSettingsDialogInterface::execModalSettingsDialog ( void  )
pure virtual

Execute and display the modal settings dialog.

Implemented in X2Rotator, X2FilterWheel, and X2Camera.

◆ initModalSettingsDialog()

virtual int ModalSettingsDialogInterface::initModalSettingsDialog ( void  )
pure virtual

Initialize the modal settings dialog.

Implemented in X2Rotator, X2FilterWheel, and X2Camera.


The documentation for this class was generated from the following file:
X2 Examples
(C) Software Bisque, Inc. All rights reserved.