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

Public Member Functions

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 250 of file fabricate.py.

Member Function Documentation

def fabricate.Runner.__call__ (   self,
  args,
  kwargs 
)
Run command and return (dependencies, outputs), where
    dependencies is a list of the filenames of files that the
    command depended on, and output is a list of the filenames
    of files that the command modified. The input is passed
    to shell()

Definition at line 251 of file fabricate.py.

251  def __call__(self, *args, **kwargs):
252  """ Run command and return (dependencies, outputs), where
253  dependencies is a list of the filenames of files that the
254  command depended on, and output is a list of the filenames
255  of files that the command modified. The input is passed
256  to shell()"""
257  raise NotImplementedError("Runner subclass called but subclass didn't define __call__")
258 
def __call__(self, args, kwargs)
Definition: fabricate.py:251
def fabricate.Runner.actual_runner (   self)
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 
)

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: