TwiceAsNice  2019-02-18
Functions
licsPreset.cc File Reference
#include <string>
#include <vector>
#include <cstdio>
#include <LicsIIFSide.h>
#include <LicsStar.h>
#include <LicsStarcat.h>
#include <LicsDrotPreset.h>
#include <LicsTcsPreset.h>
#include <LaosSeAOType.h>
Include dependency graph for licsPreset.cc:

Functions

void usage (char *argv0)
 setting this prepropcessor option means that the -b command option (disabling popup GUIs) is always enabled. More...
 
int main (int argc, char *argv[])
 Preset of the 5 derotators or preset of the telescope. More...
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Preset of the 5 derotators or preset of the telescope.


Parameters
argcThe count of the command line arguments.
argvThe vector of blank-separated strings onthe command line. Usage:

to move the derotators to the beginning of their range

licsPreset -d lbtocat.txt

to peset the telescope

licsPreset -t lbtocat.txt Example: licsPreset -d ~/lnsw/ln/ltcs/src/stars/lbtoTstCat.txt licsPreset -t ~/lnsw/ln/ltcs/src/stars/lbtoTstCat.txt licsPreset -t -S ltcs.iifDummyLocalhost-svr ~/lnsw/ln/ltcs/src/stars/lbtoTstCat.txt licsPreset -t -S ltcs.iif-svr ~/lnsw/ln/ltcs/src/stars/lbtoTstCat.txt

Since
2017-04-12
2018-01-22 added -b (batch) option

◆ usage()

void usage ( char *  argv0)

setting this prepropcessor option means that the -b command option (disabling popup GUIs) is always enabled.

Since
2018-02-08 on request of Thomas Betram (in Makefile.am) #define LN_LICS_PRESET_NO_GUIS

emit a usage notice on stdout.

Parameters
argv0The string which is the first compoment of argv, namely the command name
Since
2017-04-12