Hamlib
3.0.1
|
Hamlib rotator data structures. More...
Go to the source code of this file.
Data Structures | |
struct | rot_caps |
Rotator data structure. More... | |
struct | rot_state |
Live data and customized fields. More... | |
struct | rot |
This is the master data structure, acting as a handle for the controlled rotator. More... | |
Macros | |
#define | NETROTCTL_RET "RPRT " |
Token in the netrotctl protocol for returning error code. | |
#define | ROT_RESET_ALL 1 |
A macro that returns the flag for the reset operation. More... | |
#define | ROT_TYPE_MASK (ROT_FLAG_AZIMUTH|ROT_FLAG_ELEVATION) |
#define | ROT_TYPE_OTHER 0 |
#define | ROT_TYPE_AZIMUTH ROT_FLAG_AZIMUTH |
#define | ROT_TYPE_ELEVATION ROT_FLAG_ELEVATION |
#define | ROT_TYPE_AZEL (ROT_FLAG_AZIMUTH|ROT_FLAG_ELEVATION) |
#define | ROT_MOVE_UP (1<<1) |
A macro that returns the flag for the UP direction. More... | |
#define | ROT_MOVE_DOWN (1<<2) |
A macro that returns the flag for the DOWN direction. More... | |
#define | ROT_MOVE_LEFT (1<<3) |
A macro that returns the flag for the LEFT direction. More... | |
#define | ROT_MOVE_CCW ROT_MOVE_LEFT |
A macro that returns the flag for the counterclockwise direction. More... | |
#define | ROT_MOVE_RIGHT (1<<4) |
A macro that returns the flag for the RIGHT direction. More... | |
#define | ROT_MOVE_CW ROT_MOVE_RIGHT |
A macro that returns the flag for the clockwise direction. More... | |
#define | rot_debug rig_debug |
Convenience definition for debug level. More... | |
Typedefs | |
typedef struct rot | ROT |
Rotator structure definition (see rot for details). | |
typedef float | elevation_t |
Type definition for elevation. More... | |
typedef float | azimuth_t |
Type definition for azimuth. More... | |
typedef int | rot_reset_t |
Type definition for rotator reset. More... | |
Enumerations | |
enum | rot_type_t { ROT_FLAG_AZIMUTH = (1<<1), ROT_FLAG_ELEVATION = (1<<2) } |
Rotator type flags. More... | |
Functions | |
ROT * | rot_init () |
int | rot_open () |
int | rot_close () |
int | rot_cleanup () |
int | rot_set_conf () |
int | rot_get_conf () |
int | rot_set_position () |
int | rot_get_position () |
int | rot_stop () |
int | rot_park () |
int | rot_reset () |
int | rot_move () |
const char * | rot_get_info () |
int | rot_register () |
int | rot_unregister () |
int | rot_list_foreach () |
int | rot_load_backend () |
int | rot_check_backend () |
int | rot_load_all_backends () |
rot_model_t | rot_probe_all () |
int | rot_token_foreach () |
const struct confparams * | rot_confparam_lookup () |
token_t | rot_token_lookup () |
const struct rot_caps * | rot_get_caps () |
int | qrb () |
double | distance_long_path () |
double | azimuth_long_path () |
int | longlat2locator () |
int | locator2longlat () |
double | dms2dec () |
int | dec2dms () |
int | dec2dmmm () |
double | dmmm2dec () |
Hamlib rotator data structures.
This file contains the data structures and definitions for the Hamlib rotator API. see the rotator.c file for more details on the rotator API.
Hamlib documentation for version 3.0.1 -- Wed Jan 13 2016 15:05:23
Project page: http://www.hamlib.org