ifw-fcf  3.0.0
Public Member Functions | Public Attributes | List of all members
fcfclib.shell_commander.Commander Class Reference

Public Member Functions

def __init__ (self, supif)
 Class constructor. More...
 
def do_help (self, arg)
 
def exec_cmd (self, line)
 Executes the command line. More...
 
def parseline (self, line)
 Parses the command line. More...
 
def do_setup_json_string (self, arg)
 
def do_setup_json_file (self, arg)
 
def do_setup_spf (self, arg)
 
def do_init (self, arg)
 Trigger the initialisation of the server. More...
 
def do_enable (self, arg)
 Trigger the enabling of the server. More...
 
def do_disable (self, arg)
 
def do_reset (self, arg)
 
def do_ignore (self, arg)
 
def do_simulate (self, arg)
 
def do_stop_ignore (self, arg)
 
def do_stop_simulate (self, arg)
 
def do_stop (self, arg)
 
def do_state (self, arg)
 Get the state of the manager. More...
 
def do_status (self, arg)
 Get the status of the manager. More...
 
def do_get_config (self, arg)
 Get server configuration. More...
 
def do_devnames (self, arg)
 Get the names of the devices managed by the manager. More...
 
def do_devinfo (self, arg)
 Get the info of the devices managed by the manager. More...
 
def do_devconfig (self, arg)
 Get device configuration. More...
 
def do_daqstart (self, arg)
 Start metadata acquisition. More...
 
def do_daqstop (self, arg)
 Stop metadata acquisition. More...
 
def do_daqabort (self, arg)
 Abort metadata acquisition. More...
 
def do_daqstatus (self, arg)
 Abort metadata acquisition. More...
 
def do_open (self, arg)
 Open a shutter device. More...
 
def do_close (self, arg)
 Close a shutter device. More...
 
def do_switch_on (self, arg)
 Switch on a lamp device. More...
 
def do_switch_off (self, arg)
 Get the info of the devices managed by the manager. More...
 
def do_move (self, arg)
 Move a motor. More...
 
def do_move_by_name (self, arg)
 Move a motor by name. More...
 
def do_move_by_speed (self, arg)
 Move a motor by speed. More...
 
def do_start_track (self, arg)
 Start tracking. More...
 
def do_stop_track (self, arg)
 Stop tracking. More...
 
def do_devstatus (self, arg)
 Get the device detailed status. More...
 

Public Attributes

 supcmd
 
 allowedchars
 
 lastcmd
 

Constructor & Destructor Documentation

◆ __init__()

def fcfclib.shell_commander.Commander.__init__ (   self,
  supif 
)

Class constructor.

Member Function Documentation

◆ do_close()

def fcfclib.shell_commander.Commander.do_close (   self,
  arg 
)

Close a shutter device.

 Handles shell command parameters 

◆ do_daqabort()

def fcfclib.shell_commander.Commander.do_daqabort (   self,
  arg 
)

Abort metadata acquisition.

◆ do_daqstart()

def fcfclib.shell_commander.Commander.do_daqstart (   self,
  arg 
)

Start metadata acquisition.

◆ do_daqstatus()

def fcfclib.shell_commander.Commander.do_daqstatus (   self,
  arg 
)

Abort metadata acquisition.

◆ do_daqstop()

def fcfclib.shell_commander.Commander.do_daqstop (   self,
  arg 
)

Stop metadata acquisition.

◆ do_devconfig()

def fcfclib.shell_commander.Commander.do_devconfig (   self,
  arg 
)

Get device configuration.

◆ do_devinfo()

def fcfclib.shell_commander.Commander.do_devinfo (   self,
  arg 
)

Get the info of the devices managed by the manager.

◆ do_devnames()

def fcfclib.shell_commander.Commander.do_devnames (   self,
  arg 
)

Get the names of the devices managed by the manager.

◆ do_devstatus()

def fcfclib.shell_commander.Commander.do_devstatus (   self,
  arg 
)

Get the device detailed status.

 Handles shell command parameters 

◆ do_disable()

def fcfclib.shell_commander.Commander.do_disable (   self,
  arg 
)

◆ do_enable()

def fcfclib.shell_commander.Commander.do_enable (   self,
  arg 
)

Trigger the enabling of the server.

◆ do_get_config()

def fcfclib.shell_commander.Commander.do_get_config (   self,
  arg 
)

Get server configuration.

◆ do_help()

def fcfclib.shell_commander.Commander.do_help (   self,
  arg 
)

◆ do_ignore()

def fcfclib.shell_commander.Commander.do_ignore (   self,
  arg 
)

◆ do_init()

def fcfclib.shell_commander.Commander.do_init (   self,
  arg 
)

Trigger the initialisation of the server.

◆ do_move()

def fcfclib.shell_commander.Commander.do_move (   self,
  arg 
)

Move a motor.

 Handles shell command parameters 

◆ do_move_by_name()

def fcfclib.shell_commander.Commander.do_move_by_name (   self,
  arg 
)

Move a motor by name.

 Handles shell command parameters 

◆ do_move_by_speed()

def fcfclib.shell_commander.Commander.do_move_by_speed (   self,
  arg 
)

Move a motor by speed.

 Handles shell command parameters 

◆ do_open()

def fcfclib.shell_commander.Commander.do_open (   self,
  arg 
)

Open a shutter device.

 Handles shell command parameters 

◆ do_reset()

def fcfclib.shell_commander.Commander.do_reset (   self,
  arg 
)

◆ do_setup_json_file()

def fcfclib.shell_commander.Commander.do_setup_json_file (   self,
  arg 
)

◆ do_setup_json_string()

def fcfclib.shell_commander.Commander.do_setup_json_string (   self,
  arg 
)

◆ do_setup_spf()

def fcfclib.shell_commander.Commander.do_setup_spf (   self,
  arg 
)

◆ do_simulate()

def fcfclib.shell_commander.Commander.do_simulate (   self,
  arg 
)

◆ do_start_track()

def fcfclib.shell_commander.Commander.do_start_track (   self,
  arg 
)

Start tracking.

 Handles shell command parameters 

◆ do_state()

def fcfclib.shell_commander.Commander.do_state (   self,
  arg 
)

Get the state of the manager.

◆ do_status()

def fcfclib.shell_commander.Commander.do_status (   self,
  arg 
)

Get the status of the manager.

◆ do_stop()

def fcfclib.shell_commander.Commander.do_stop (   self,
  arg 
)

◆ do_stop_ignore()

def fcfclib.shell_commander.Commander.do_stop_ignore (   self,
  arg 
)

◆ do_stop_simulate()

def fcfclib.shell_commander.Commander.do_stop_simulate (   self,
  arg 
)

◆ do_stop_track()

def fcfclib.shell_commander.Commander.do_stop_track (   self,
  arg 
)

Stop tracking.

 Handles shell command parameters 

◆ do_switch_off()

def fcfclib.shell_commander.Commander.do_switch_off (   self,
  arg 
)

Get the info of the devices managed by the manager.

 Handles shell command parameters 

◆ do_switch_on()

def fcfclib.shell_commander.Commander.do_switch_on (   self,
  arg 
)

Switch on a lamp device.

 Handles shell command parameters 

◆ exec_cmd()

def fcfclib.shell_commander.Commander.exec_cmd (   self,
  line 
)

Executes the command line.

◆ parseline()

def fcfclib.shell_commander.Commander.parseline (   self,
  line 
)

Parses the command line.

Member Data Documentation

◆ allowedchars

fcfclib.shell_commander.Commander.allowedchars

◆ lastcmd

fcfclib.shell_commander.Commander.lastcmd

◆ supcmd

fcfclib.shell_commander.Commander.supcmd

The documentation for this class was generated from the following file: