ifw-sup
3.0.0-pre3
|
Class managing the interface with a subsystem simulator. More...
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... | |
Class managing the interface with a subsystem simulator.
def subsim_commands.SubsimCommands.__init__ | ( | self, | |
uri, | |||
timeout = 60000 |
|||
) |
def subsim_commands.SubsimCommands.cfgdelay | ( | self, | |
cmd, | |||
delay | |||
) |
Execute cfgdelay Command.
It changes the default delay per command.
def subsim_commands.SubsimCommands.cfgerrmsg | ( | self, | |
cmd, | |||
msg | |||
) |
Configure error message.
It changes the default error message per command.
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.
def subsim_commands.SubsimCommands.config | ( | self | ) |
Execute config Command.
def subsim_commands.SubsimCommands.get | ( | self, | |
index | |||
) |
Get size of buffer (message)
def subsim_commands.SubsimCommands.get_config | ( | self | ) |
Execute Setup Command asynchronously.
def subsim_commands.SubsimCommands.reset_buffer | ( | self | ) |
Clean Setup buffer (message)
def subsim_commands.SubsimCommands.set_config_delay | ( | self, | |
cmdname, | |||
delay | |||
) |
Set delay (message)
def subsim_commands.SubsimCommands.set_config_errmsg | ( | self, | |
cmdname, | |||
msg | |||
) |
Set error message.
def subsim_commands.SubsimCommands.set_config_reply_ok | ( | self, | |
cmdname, | |||
flag | |||
) |
Set reply flag (message)
def subsim_commands.SubsimCommands.setup | ( | self | ) |
Execute Setup Command asynchronously.
def subsim_commands.SubsimCommands.size | ( | self | ) |
Get size of buffer (message)