Public Member Functions | Private Member Functions | Private Attributes
rtshell.rtinject_comp.Writer Class Reference

Writer component for rtinject. More...

Inheritance diagram for rtshell.rtinject_comp.Writer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__

Private Member Functions

def _behv

Private Attributes

 _val

Detailed Description

Writer component for rtinject.

Definition at line 32 of file rtinject_comp.py.


Constructor & Destructor Documentation

def rtshell.rtinject_comp.Writer.__init__ (   self,
  mgr,
  port_specs,
  val = None,
  args,
  kwargs 
)

Definition at line 33 of file rtinject_comp.py.


Member Function Documentation

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.


Member Data Documentation

Reimplemented in rtshell.rtinject_comp.StdinWriter.

Definition at line 33 of file rtinject_comp.py.


The documentation for this class was generated from the following file:


rtshell
Author(s): Geoffrey Biggs
autogenerated on Fri Aug 28 2015 12:55:12