Recorder component for rtlog. More...
Public Member Functions | |
def | __init__ |
def | onActivated |
def | onFinalize |
Private Member Functions | |
def | _behv |
def | _log |
Private Attributes | |
_end | |
_fn | |
_l | |
_logger_type | |
_verb |
Recorder component for rtlog.
Definition at line 37 of file rtlog_comps.py.
def rtshell.rtlog_comps.Recorder.__init__ | ( | self, | |
mgr, | |||
port_specs, | |||
logger_type = None , |
|||
filename = '' , |
|||
lims_are_ind = False , |
|||
end = -1 , |
|||
verbose = False , |
|||
args, | |||
kwargs | |||
) |
Definition at line 38 of file rtlog_comps.py.
def rtshell.rtlog_comps.Recorder._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 73 of file rtlog_comps.py.
def rtshell.rtlog_comps.Recorder._log | ( | self, | |
port, | |||
port_name | |||
) | [private] |
Definition at line 90 of file rtlog_comps.py.
def rtshell.rtlog_comps.Recorder.onActivated | ( | self, | |
ec_id | |||
) |
Definition at line 56 of file rtlog_comps.py.
def rtshell.rtlog_comps.Recorder.onFinalize | ( | self | ) |
Definition at line 68 of file rtlog_comps.py.
rtshell::rtlog_comps.Recorder::_end [private] |
Definition at line 38 of file rtlog_comps.py.
rtshell::rtlog_comps.Recorder::_fn [private] |
Definition at line 38 of file rtlog_comps.py.
rtshell::rtlog_comps.Recorder::_l [private] |
Definition at line 56 of file rtlog_comps.py.
Definition at line 38 of file rtlog_comps.py.
rtshell::rtlog_comps.Recorder::_verb [private] |
Definition at line 38 of file rtlog_comps.py.