Reader component for rtprint. More...
Public Member Functions | |
def | __init__ |
Private Member Functions | |
def | _behv |
Reader component for rtprint.
Definition at line 30 of file rtprint_comp.py.
def rtshell.rtprint_comp.Reader.__init__ | ( | self, | |
mgr, | |||
port_specs, | |||
args, | |||
kwargs | |||
) |
Definition at line 31 of file rtprint_comp.py.
def rtshell.rtprint_comp.Reader._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 34 of file rtprint_comp.py.