Module: Origen::Callbacks

Extended by:
ActiveSupport::Concern
Included in:
Application::LSFManager
Defined in:
lib/origen/callbacks.rb

Instance Method Summary collapse

Instance Method Details

#register_callback_listenerObject

:nodoc:



10
11
12
13
14
15
16
17
# File 'lib/origen/callbacks.rb', line 10

def register_callback_listener # :nodoc:
  Origen.app.add_callback_listener(self)
  # If this object has been instantiated after on_create has already been called,
  # then invoke it now
  if Origen.app.on_create_called?
    on_create if respond_to?(:on_create)
  end
end