X2 Standard
Version 1.28
Toggle main menu visibility
Loading...
Searching...
No Matches
licensedinterfaces
mount
openloopmoveinterface.h
1
#ifndef _OpenLoopMoveInterface_H
2
#define _OpenLoopMoveInterface_H
3
4
#ifdef THESKYX_FOLDER_TREE
5
#include "imagingsystem/hardware/mountbridge/implementor/mountdriverinterface/mountdriverinterface.h"
//For MoveDir
6
#else
//TheSkyX X2 Plug In Build
7
#include "../mountdriverinterface.h"
//For MoveDir
8
#endif
9
10
//This might not be common - move to underneath MountBridge if specific to mounts
11
12
#define OpenLoopMoveInterface_Name "com.bisque.TheSkyX.OpenLoopMoveInterface/1.0"
13
22
class
OpenLoopMoveInterface
23
{
24
public
:
25
26
virtual
~OpenLoopMoveInterface
(){}
27
28
public
:
30
virtual
int
startOpenLoopMove
(
const
MountDriverInterface::MoveDir
& Dir,
const
int
& nRateIndex) = 0;
32
virtual
int
endOpenLoopMove
(
void
) = 0;
33
35
virtual
bool
allowDiagonalMoves
() {
return
false
;}
36
37
//OpenLoopMove specifics
38
40
virtual
int
rateCountOpenLoopMove
(
void
)
const
= 0;
42
virtual
int
rateNameFromIndexOpenLoopMove
(
const
int
& nZeroBasedIndex,
char
* pszOut,
const
int
& nOutMaxSize)=0;
44
virtual
int
rateIndexOpenLoopMove
(
void
)=0;
45
46
};
47
48
#endif
MountDriverInterface::MoveDir
MoveDir
Definition
mountdriverinterface.h:51
OpenLoopMoveInterface
The OpenLoopMoveInterface allows a mount to move at a given rate for a open-ended amount of time.
Definition
openloopmoveinterface.h:23
OpenLoopMoveInterface::allowDiagonalMoves
virtual bool allowDiagonalMoves()
Definition
openloopmoveinterface.h:35
OpenLoopMoveInterface::rateIndexOpenLoopMove
virtual int rateIndexOpenLoopMove(void)=0
OpenLoopMoveInterface::startOpenLoopMove
virtual int startOpenLoopMove(const MountDriverInterface::MoveDir &Dir, const int &nRateIndex)=0
OpenLoopMoveInterface::rateNameFromIndexOpenLoopMove
virtual int rateNameFromIndexOpenLoopMove(const int &nZeroBasedIndex, char *pszOut, const int &nOutMaxSize)=0
OpenLoopMoveInterface::rateCountOpenLoopMove
virtual int rateCountOpenLoopMove(void) const =0
OpenLoopMoveInterface::endOpenLoopMove
virtual int endOpenLoopMove(void)=0
X2 Examples
(C) 2026 Software Bisque, Inc. All rights reserved.