Module: Syskit::Placeholder Private
- Defined in:
- lib/syskit/placeholder.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Base implementation of the creation of models that represent an arbitrary mix of a task model and a set of data services.
Its most common usage it to represent a single data service (which is seen as a Component model with an extra data service). It can also be used to represent a taskcontext model that should have an extra data service at dependency-injection time because of e.g. dynamic service instantiation.
Instance Method Summary collapse
- #placeholder? ⇒ Boolean private
- #provided_models ⇒ Object private
- #proxied_data_service_models ⇒ Object private
Instance Method Details
#placeholder? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
12 13 14 |
# File 'lib/syskit/placeholder.rb', line 12 def placeholder? true end |
#provided_models ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
20 21 22 |
# File 'lib/syskit/placeholder.rb', line 20 def provided_models [self.model.proxied_component_model, self.model.proxied_data_service_models] end |
#proxied_data_service_models ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
16 17 18 |
# File 'lib/syskit/placeholder.rb', line 16 def proxied_data_service_models self.model.proxied_data_service_models end |