seq  1.1.0
 All Classes Namespaces Files Functions Variables Groups Pages
Public Member Functions | List of all members
seqlib.nodes.action.ActionInThread Class Reference

ActionInThread ctor. More...

Inheritance diagram for seqlib.nodes.action.ActionInThread:
seqlib.nodes.action.Action seqlib.nodes.action.Action

Public Member Functions

def __call__
 
def __call__
 
- Public Member Functions inherited from seqlib.nodes.action.Action
def __attrs_post_init__
 
def context
 Get context from the running Sequence. More...
 
def __call__
 
def __attrs_post_init__
 
def context
 Get context from the running Sequence. More...
 
def __call__
 

Additional Inherited Members

- Public Attributes inherited from seqlib.nodes.action.Action
 name
 
 id
 
 state
 
 t_start
 
 t_end
 
 result
 
 in_error
 
 exception
 
- Static Public Attributes inherited from seqlib.nodes.action.Action
tuple f = attr.ib(default=None, repr=False)
 

Detailed Description

ActionInThread ctor.

ActionInThread nodes executes python callables (functions or methods) in a Sequencer script.

Parameters
fThe callable the node will execute
idUnique id. If not provided an unique identifier is assigned.
nameNode name. If not provided a name is assigned.
Exceptions
TypeExceptionis f is not a python method or function.

Member Function Documentation

def seqlib.nodes.action.ActionInThread.__call__ (   self,
  resume = False 
)
Executes node action.

The action is a normal function, a special task is created
in order to execute the action in a different thread.

In any case the context parameter is passed to the action and
its result saved.
def seqlib.nodes.action.ActionInThread.__call__ (   self,
  resume = False 
)
Executes node action.

The action is a normal function, a special task is created
in order to execute the action in a different thread.

In any case the context parameter is passed to the action and
its result saved.

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