Writer component for rtinject. More...
Public Member Functions | |
def | __init__ |
Private Member Functions | |
def | _behv |
Private Attributes | |
_val |
Writer component for rtinject.
Definition at line 32 of file rtinject_comp.py.
def rtshell.rtinject_comp.Writer.__init__ | ( | self, | |
mgr, | |||
port_specs, | |||
val = None , |
|||
args, | |||
kwargs | |||
) |
Definition at line 33 of file rtinject_comp.py.
def rtshell.rtinject_comp.Writer._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.
Reimplemented in rtshell.rtinject_comp.StdinWriter.
Definition at line 37 of file rtinject_comp.py.
rtshell::rtinject_comp.Writer::_val [private] |
Reimplemented in rtshell.rtinject_comp.StdinWriter.
Definition at line 33 of file rtinject_comp.py.