Package topo :: Package sheet :: Module basic :: Class ActivityCopy
[hide private]
[frames] | no frames]

Class ActivityCopy

source code

                        object --+            
                                 |            
 param.parameterized.Parameterized --+        
                                     |        
        base.simulation.EventProcessor --+    
                                         |    
                            object --+   |    
                                     |   |    
base.sheetcoords.SheetCoordinateSystem --+    
                                         |    
                          base.sheet.Sheet --+
                                             |
                                            ActivityCopy

Copies incoming Activity patterns to its activity matrix and output port.

Trivial Sheet class that is useful primarily as a placeholder for data that is computed elsewhere but that you want to appear as a Sheet, e.g. when wrapping an external simulation.

Nested Classes [hide private]

Inherited from param.parameterized.Parameterized: __metaclass__

Instance Methods [hide private]
 
input_event(self, conn, data)
Called by the simulation when an EPConnectionEvent is delivered; the EventProcessor should process the data somehow.
source code
 
process_current_time(self)
Called by the simulation before advancing the simulation time.
source code

Inherited from base.sheet.Sheet: __init__, activity_len, override_plasticity_state, release_sheet_view, restore_plasticity_state, row_col_sheetcoords, sheet_cols, sheet_offset, sheet_rows, state_pop, state_push

Inherited from base.sheet.Sheet (private): _get_density

Inherited from base.simulation.EventProcessor: script_repr, send_output, start

Inherited from param.parameterized.Parameterized: __getstate__, __repr__, __setstate__, __str__, debug, defaults, force_new_dynamic_value, get_param_values, get_value_generator, inspect_value, message, print_param_values, set_dynamic_time_fn, verbose, warning

Inherited from base.sheetcoords.SheetCoordinateSystem: closest_cell_center, matrix2sheet, matrixidx2sheet, sheet2matrix, sheet2matrixidx, sheetcoordinates_of_matrixidx

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Methods [hide private]

Inherited from param.parameterized.Parameterized: params, print_param_defaults

Class Variables [hide private]
  dest_ports = ['Activity']
list() -> new list list(sequence) -> new list initialized from sequence's items
  src_ports = ['Activity']
list() -> new list list(sequence) -> new list initialized from sequence's items

Inherited from base.sheet.Sheet: layout_location, nominal_bounds, nominal_density, plastic, precedence

Inherited from param.parameterized.Parameterized: name, print_level

Properties [hide private]

Inherited from base.sheet.Sheet: density

Inherited from base.sheetcoords.SheetCoordinateSystem: shape, xdensity, ydensity

Inherited from object: __class__

Method Details [hide private]

input_event(self, conn, data)

source code 
Called by the simulation when an EPConnectionEvent is delivered; the EventProcessor should process the data somehow.
Overrides: base.simulation.EventProcessor.input_event
(inherited documentation)

process_current_time(self)

source code 
Called by the simulation before advancing the simulation time. Allows the event processor to do any computation that requires that all events for this time have been delivered. Computations performed in this method should not generate any events with a zero time delay, or else causality could be violated. (By default, does nothing.)
Overrides: base.simulation.EventProcessor.process_current_time
(inherited documentation)