- Extended by:
- Included in:
- Defined in:
The regular callbacks module will register listeners that expire upon the next target load, normally this is what is wanted at app level since things should start afresh every time the target is loaded.
However within Origen core (and possibly some plugins) it is often the case that registered listeners will be objects that are not re-instantiated upon target load and persist for the entire Origen thread. In this case use the PersistentCallbacks module instead of the regular Callbacks module to make these objects register as permanent listeners.
Instance Method Summary collapse
#register_callback_listener ⇒ Object
Instance Method Details
35 36 37
# File 'lib/origen/callbacks.rb', line 35 def register_callback_listener # :nodoc: ..add_persistant_callback_listener(self) end