Public Member Functions | Public Attributes | List of all members
fabricate.AlwaysRunner Class Reference
Inheritance diagram for fabricate.AlwaysRunner:
fabricate.Runner object

Public Member Functions

def __init__ (self, builder)
 
def __call__ (self, args, kwargs)
 
def actual_runner (self)
 
def ignore (self, name)
 

Public Attributes

short int type
 
short int number
 
char name [SIZE_OF_OBJ_NAME]
 
cat_entry star
 

Detailed Description

Definition at line 753 of file fabricate.py.

Constructor & Destructor Documentation

def fabricate.AlwaysRunner.__init__ (   self,
  builder 
)

Definition at line 754 of file fabricate.py.

Referenced by PandAna.core.core.spectrum.fill().

754  def __init__(self, builder):
755  pass
756 
def __init__(self, builder)
Definition: fabricate.py:754

Member Function Documentation

def fabricate.AlwaysRunner.__call__ (   self,
  args,
  kwargs 
)
Runner that always runs given command, used as a backup in case
    a system doesn't have strace or atimes. 

Definition at line 757 of file fabricate.py.

757  def __call__(self, *args, **kwargs):
758  """ Runner that always runs given command, used as a backup in case
759  a system doesn't have strace or atimes. """
760  shell_keywords = dict(silent=False)
761  shell_keywords.update(kwargs)
762  shell(*args, **shell_keywords)
763  return None, None
764 
def shell(args, kwargs)
Definition: fabricate.py:143
def __call__(self, args, kwargs)
Definition: fabricate.py:757
def fabricate.Runner.actual_runner (   self)
inherited
Return the actual runner object (overriden in SmartRunner). 

Definition at line 259 of file fabricate.py.

259  def actual_runner(self):
260  """ Return the actual runner object (overriden in SmartRunner). """
261  return self
262 
def actual_runner(self)
Definition: fabricate.py:259
def fabricate.Runner.ignore (   self,
  name 
)
inherited

Definition at line 263 of file fabricate.py.

Referenced by fabricate.AtimesRunner.__call__(), and fabricate.StraceRunner._match_line().

263  def ignore(self, name):
264  return self._builder.ignore.search(name)
265 
def ignore(self, name)
Definition: fabricate.py:263

Member Data Documentation

char object::name
inherited
short int object::number
inherited

Definition at line 115 of file novas.h.

cat_entry object::star
inherited

Definition at line 117 of file novas.h.

short int object::type
inherited

Definition at line 114 of file novas.h.


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