seq  1.1.0
 All Classes Namespaces Files Functions Variables Groups Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
seqlib.ob.OB Class Reference

An collection of OB's or Sequences. More...

Public Member Functions

def __attrs_post_init__
 not needed it seems More...
 
def context
 context property More...
 
def reload_tpl
 
def load_tpl
 
def get_ctor_from_module
 Gets constructor from module. More...
 
def run_from_file
 
def run_all
 
def runidx
 
def wrap_and_run
 
def resume
 
def retry_resume
 
def abort
 
def nodes
 
def tplist
 
def get_tree
 dict if dicts representing the tree More...
 
def find_node
 Finds a node in the tree based on its id. More...
 
def __attrs_post_init__
 not needed it seems More...
 
def context
 context property More...
 
def reload_tpl
 
def load_tpl
 
def get_ctor_from_module
 Gets constructor from module. More...
 
def run_from_file
 
def run_all
 
def runidx
 
def wrap_and_run
 
def resume
 
def retry_resume
 
def abort
 
def nodes
 
def tplist
 
def get_tree
 dict if dicts representing the tree More...
 
def find_node
 Finds a node in the tree based on its id. More...
 

Static Public Member Functions

def create_sequence
 
def create_sequence
 

Public Attributes

 wrapper
 
 wrapper_task
 

Static Public Attributes

tuple cls = attr.ib(init=False, default=attr.Factory(list))
 
tuple tpmods = attr.ib(init=False, default=attr.Factory(list))
 
tuple lock = attr.ib(init=False, default=attr.Factory(asyncio.Semaphore))
 
tuple wrapper = attr.ib(init=False, default=None)
 
tuple wrapper_task = attr.ib(init=False, default=None)
 
tuple controller = cv.ContextVar("controller", default=None)
 

Detailed Description

An collection of OB's or Sequences.

This is the executor.

Member Function Documentation

def seqlib.ob.OB.__attrs_post_init__ (   self)

not needed it seems

def seqlib.ob.OB.__attrs_post_init__ (   self)

not needed it seems

def seqlib.ob.OB.abort (   self)
Aborts execution
def seqlib.ob.OB.abort (   self)
Aborts execution
def seqlib.ob.OB.context (   self)

context property

def seqlib.ob.OB.context (   self)

context property

def seqlib.ob.OB.create_sequence (   mod,
  args,
  kw 
)
static
def seqlib.ob.OB.create_sequence (   mod,
  args,
  kw 
)
static
def seqlib.ob.OB.find_node (   self,
  nid 
)

Finds a node in the tree based on its id.

def seqlib.ob.OB.find_node (   self,
  nid 
)

Finds a node in the tree based on its id.

def seqlib.ob.OB.get_ctor_from_module (   self,
  m 
)

Gets constructor from module.

def seqlib.ob.OB.get_ctor_from_module (   self,
  m 
)

Gets constructor from module.

def seqlib.ob.OB.get_tree (   self)

dict if dicts representing the tree

def seqlib.ob.OB.get_tree (   self)

dict if dicts representing the tree

def seqlib.ob.OB.load_tpl (   self,
  t 
)
def seqlib.ob.OB.load_tpl (   self,
  t 
)
def seqlib.ob.OB.nodes (   self)
Gets tree nodes
def seqlib.ob.OB.nodes (   self)
Gets tree nodes
def seqlib.ob.OB.reload_tpl (   self,
  i 
)
def seqlib.ob.OB.reload_tpl (   self,
  i 
)
def seqlib.ob.OB.resume (   self)
Restart the Graph without recreating tasks.
Finished tasks are ignored, pending task are executed.
def seqlib.ob.OB.resume (   self)
Restart the Graph without recreating tasks.
Finished tasks are ignored, pending task are executed.
def seqlib.ob.OB.retry_resume (   self)
Retries last failed mode and restarts tree execution
def seqlib.ob.OB.retry_resume (   self)
Retries last failed mode and restarts tree execution
def seqlib.ob.OB.run_all (   self)
Run all loaded modules
def seqlib.ob.OB.run_all (   self)
Run all loaded modules
def seqlib.ob.OB.run_from_file (   self,
  fn 
)
Loads a python file and executes it.
def seqlib.ob.OB.run_from_file (   self,
  fn 
)
Loads a python file and executes it.
def seqlib.ob.OB.runidx (   self,
  idx = 0 
)
def seqlib.ob.OB.runidx (   self,
  idx = 0 
)
def seqlib.ob.OB.tplist (   self)
Get list of modules loaded
def seqlib.ob.OB.tplist (   self)
Get list of modules loaded
def seqlib.ob.OB.wrap_and_run (   self,
  args 
)
This is the important one.

Starts the outside sequence (wrapper) which executes
the user's sequence.
def seqlib.ob.OB.wrap_and_run (   self,
  args 
)
This is the important one.

Starts the outside sequence (wrapper) which executes
the user's sequence.

Member Data Documentation

tuple seqlib.ob.OB.cls = attr.ib(init=False, default=attr.Factory(list))
static
tuple seqlib.ob.OB.controller = cv.ContextVar("controller", default=None)
static
tuple seqlib.ob.OB.lock = attr.ib(init=False, default=attr.Factory(asyncio.Semaphore))
static
tuple seqlib.ob.OB.tpmods = attr.ib(init=False, default=attr.Factory(list))
static
tuple seqlib.ob.OB.wrapper = attr.ib(init=False, default=None)
static
seqlib.ob.OB.wrapper
tuple seqlib.ob.OB.wrapper_task = attr.ib(init=False, default=None)
static
seqlib.ob.OB.wrapper_task

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