Package gavo :: Package base :: Module activetags :: Class DelayedReplayBase
[frames] | no frames]

Class DelayedReplayBase

source code

                      object --+        
                               |        
                       ActiveTag --+    
                                   |    
              object --+           |    
                       |           |    
 structure.StructureBase --+       |    
                           |       |    
              object --+   |       |    
                       |   |       |    
           common.Parser --+       |    
                           |       |    
structure.ParseableStructure --+   |    
                               |   |    
             structure.Structure --+    
                                   |    
                  object --+       |    
                           |       |    
         macros.MacroPackage --+   |    
                               |   |    
       macros.StandardMacroMixin --+    
                                   |    
                          ReplayBase --+
                                       |
                          object --+   |
                                   |   |
                          GhostMixin --+
                                       |
                                      DelayedReplayBase
Known Subclasses:

An base class for active tags wanting to replay streams from where the context is invisible.

These define a _replayer attribute that, when called, replays the stored events *within the context at its end* and to the parent.

This is what you want for the FEED and LOOP since they always work on the embedding element and, by virtue of being ghosts, cannot be copied. If the element embedding an event stream can be copied, this will almost certainly not do what you want.

Nested Classes

Inherited from structure.StructureBase: __metaclass__

Instance Methods
 
end_(self, ctx, name, value) source code

Inherited from ReplayBase: replay

Inherited from structure.Structure: __provides__, callCompletedCallbacks, completeElement, finishElement, onElementComplete, validate

Inherited from structure.ParseableStructure: __init__, feed, feedFrom, feedObject, getAttribute, iterEvents, start_, value_

Inherited from structure.StructureBase: __providedBy__, adopt, breakCircles, change, copy, getAttributes, getCopyableAttributes, getSourcePosition, iterChildren, setPosition

Inherited from common.Parser: feedEvent

Inherited from macros.StandardMacroMixin: macro_RSTservicelink, macro_RSTtable, macro_decapitalize, macro_getConfig, macro_internallink, macro_magicEmpty, macro_metaSeq, macro_metaString, macro_rdId, macro_rdIdDotted, macro_schema, macro_test, macro_today, macro_upper, macro_urlquote

Inherited from macros.MacroPackage: execMacro, expand, getExpander, listMacros, macro_quote, macro_reSub, macro_sql_standardPubDID, macro_sqlquote

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods

Inherited from structure.StructureBase: fromStructure

Class Variables

Inherited from ReplayBase: attrSeq, managedAttrs, name_

Inherited from structure.Structure: __implemented__

Inherited from structure.StructureBase: completedCallbacks

Properties

Inherited from object: __class__

Method Details

end_(self, ctx, name, value)

source code 
Overrides: structure.ParseableStructure.end_