ifw-sup  3.0.0-pre3
Public Member Functions | List of all members
subsim_commands.SubsimCommands Class Reference

Class managing the interface with a subsystem simulator. More...

Inheritance diagram for subsim_commands.SubsimCommands:

Public Member Functions

def __init__ (self, uri, timeout=60000)
 
def reset_buffer (self)
 Clean Setup buffer (message) More...
 
def size (self)
 Get size of buffer (message) More...
 
def get (self, index)
 Get size of buffer (message) More...
 
def set_config_reply_ok (self, cmdname, flag)
 Set reply flag (message) More...
 
def set_config_delay (self, cmdname, delay)
 Set delay (message) More...
 
def set_config_errmsg (self, cmdname, msg)
 Set error message. More...
 
def config (self)
 Execute config Command. More...
 
def cfgreply (self, cmd, flag)
 Execute cfgreply Command. More...
 
def cfgdelay (self, cmd, delay)
 Execute cfgdelay Command. More...
 
def cfgerrmsg (self, cmd, msg)
 Configure error message. More...
 
def setup (self)
 Execute Setup Command asynchronously. More...
 
def get_config (self)
 Execute Setup Command asynchronously. More...
 

Detailed Description

Class managing the interface with a subsystem simulator.

Constructor & Destructor Documentation

◆ __init__()

def subsim_commands.SubsimCommands.__init__ (   self,
  uri,
  timeout = 60000 
)

Member Function Documentation

◆ cfgdelay()

def subsim_commands.SubsimCommands.cfgdelay (   self,
  cmd,
  delay 
)

Execute cfgdelay Command.

   It changes the default delay per command.

◆ cfgerrmsg()

def subsim_commands.SubsimCommands.cfgerrmsg (   self,
  cmd,
  msg 
)

Configure error message.

   It changes the default error message per command.

◆ cfgreply()

def subsim_commands.SubsimCommands.cfgreply (   self,
  cmd,
  flag 
)

Execute cfgreply Command.

   It changes the default reply of a command.
       If the flag is true, the command returns succesfully.
       If the flag is false, the command returns with an error.

◆ config()

def subsim_commands.SubsimCommands.config (   self)

Execute config Command.

◆ get()

def subsim_commands.SubsimCommands.get (   self,
  index 
)

Get size of buffer (message)

◆ get_config()

def subsim_commands.SubsimCommands.get_config (   self)

Execute Setup Command asynchronously.

◆ reset_buffer()

def subsim_commands.SubsimCommands.reset_buffer (   self)

Clean Setup buffer (message)

◆ set_config_delay()

def subsim_commands.SubsimCommands.set_config_delay (   self,
  cmdname,
  delay 
)

Set delay (message)

◆ set_config_errmsg()

def subsim_commands.SubsimCommands.set_config_errmsg (   self,
  cmdname,
  msg 
)

Set error message.

◆ set_config_reply_ok()

def subsim_commands.SubsimCommands.set_config_reply_ok (   self,
  cmdname,
  flag 
)

Set reply flag (message)

◆ setup()

def subsim_commands.SubsimCommands.setup (   self)

Execute Setup Command asynchronously.

◆ size()

def subsim_commands.SubsimCommands.size (   self)

Get size of buffer (message)


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