Module: Origen::PersistentCallbacks
- Extended by:
- ActiveSupport::Concern
- Included in:
- Origen::Pins::PinBank
- Defined in:
- lib/origen/callbacks.rb
Overview
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
:nodoc:.