Player component for rtlog. More...
Public Member Functions | |
def | __init__ |
def | onActivated |
def | onDeactivated |
Private Member Functions | |
def | _behv |
def | _pub_log_item |
def | _vprint |
Private Attributes | |
_abs | |
_end | |
_fn | |
_ig_times | |
_l | |
_lims_ind | |
_log_start | |
_logger_type | |
_offset | |
_rate | |
_start | |
_start_time | |
_verb |
Player component for rtlog.
Definition at line 102 of file rtlog_comps.py.
def rtshell.rtlog_comps.Player.__init__ | ( | self, | |
mgr, | |||
port_specs, | |||
logger_type = None , |
|||
filename = '' , |
|||
lims_are_ind = False , |
|||
start = 0 , |
|||
end = -1 , |
|||
scale_rate = 1.0 , |
|||
abs_times = False , |
|||
ignore_times = False , |
|||
verbose = False , |
|||
args, | |||
kwargs | |||
) |
Definition at line 103 of file rtlog_comps.py.
def rtshell.rtlog_comps.Player._behv | ( | self, | |
ec_id | |||
) | [private] |
Behaviour function for derived components. Deriving classes must implement this function. It will be called by onExecute. It must return a tuple of (RTC result code, _behv result value). The RTC result code is used to create the result of onExecute; if no errors occur, it must be RTC.RTC_OK. The _behv result code is used to tell the component if the behaviour was able to execute (whether it succeeded or not), for the purposes of execution counting. It should be the number of iterations executed.
Reimplemented from rtshell.gen_comp.GenComp.
Definition at line 203 of file rtlog_comps.py.
def rtshell.rtlog_comps.Player._pub_log_item | ( | self | ) | [private] |
Definition at line 254 of file rtlog_comps.py.
def rtshell.rtlog_comps.Player._vprint | ( | self, | |
text | |||
) | [private] |
Definition at line 268 of file rtlog_comps.py.
def rtshell.rtlog_comps.Player.onActivated | ( | self, | |
ec_id | |||
) |
Definition at line 134 of file rtlog_comps.py.
def rtshell.rtlog_comps.Player.onDeactivated | ( | self, | |
ec_id | |||
) |
Definition at line 198 of file rtlog_comps.py.
rtshell::rtlog_comps.Player::_abs [private] |
Definition at line 103 of file rtlog_comps.py.
rtshell::rtlog_comps.Player::_end [private] |
Definition at line 103 of file rtlog_comps.py.
rtshell::rtlog_comps.Player::_fn [private] |
Definition at line 103 of file rtlog_comps.py.
rtshell::rtlog_comps.Player::_ig_times [private] |
Definition at line 103 of file rtlog_comps.py.
rtshell::rtlog_comps.Player::_l [private] |
Definition at line 134 of file rtlog_comps.py.
rtshell::rtlog_comps.Player::_lims_ind [private] |
Definition at line 103 of file rtlog_comps.py.
rtshell::rtlog_comps.Player::_log_start [private] |
Definition at line 134 of file rtlog_comps.py.
Definition at line 103 of file rtlog_comps.py.
rtshell::rtlog_comps.Player::_offset [private] |
Definition at line 134 of file rtlog_comps.py.
rtshell::rtlog_comps.Player::_rate [private] |
Definition at line 103 of file rtlog_comps.py.
rtshell::rtlog_comps.Player::_start [private] |
Definition at line 103 of file rtlog_comps.py.
rtshell::rtlog_comps.Player::_start_time [private] |
Definition at line 134 of file rtlog_comps.py.
rtshell::rtlog_comps.Player::_verb [private] |
Definition at line 103 of file rtlog_comps.py.