| Modifier and Type | Method and Description |
|---|---|
void |
ISharedComponent.addComponentBus(IAgentId agentId,
ILifecycleBus bus,
ComponentDependencies dependencies)
Informs the component that it is part of another
ILifecycleBus, i.e., it has become used by new agent with 'agentId'. |
void |
ISharedComponent.removeComponentBus(IAgentId agentId,
ILifecycleBus bus)
Informs the component that it ceased to be the part of the
ILifecycleBus, i.e., it has stopped to be used by agent with 'agentId'. |
| Modifier and Type | Method and Description |
|---|---|
void |
SharedComponentController.addComponentBus(IAgentId agentId,
ILifecycleBus bus,
ComponentDependencies dependencies) |
void |
SharedComponentController.removeComponentBus(IAgentId agentId,
ILifecycleBus bus) |
| Constructor and Description |
|---|
ComponentController(COMPONENT component,
IComponentControlHelper componentControlHelper,
ILifecycleBus bus,
Logger log,
ComponentDependencies dependencies)
If you're using
ILifecycleBus (not only IComponentBus, you may create this ComponentController even after some 'dependencies' has started
as ILifecycleBus allows us to retrieve current state of dependencies, so we're able to start the component during the construction
if dependencies are already met. |
ComponentController(COMPONENT component,
IComponentControlHelper componentControlHelper,
ILifecycleBus bus,
Logger log,
ComponentDependencyType dependencyType,
Object... dependencies)
If you're using
ILifecycleBus (not only IComponentBus, you may create this ComponentController even after some 'dependencies' has started
as ILifecycleBus allows us to retrieve current state of dependencies, so we're able to start the component during the construction
if dependencies are already met. |
| Modifier and Type | Class and Description |
|---|---|
class |
LifecycleBus
Lifecycle bus is implementing
ILifecycleBus which is extending IComponentBus by implementing the knowledge of lifecycle states of various IComponents. |
| Modifier and Type | Method and Description |
|---|---|
void |
ISharedWorldView.registerLocalWorldView(ILocalWorldView localWV,
ILifecycleBus bus)
This method is called when a new localWorldView is created and wants to use this sharedWorldView,
the method registers the LocalWorldView with the sharedWorldView's sharedComponentBus and also
internally stores the information about which WorldViews are registered to it.
|
| Modifier and Type | Field and Description |
|---|---|
protected ILifecycleBus |
AbstractLocalWorldView.eventBus |
| Modifier and Type | Method and Description |
|---|---|
ILifecycleBus |
AbstractLocalWorldView.getEventBus() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractSharedWorldView.addComponentBus(IAgentId agentId,
ILifecycleBus bus,
ComponentDependencies dependencies) |
void |
AbstractSharedWorldView.registerLocalWorldView(ILocalWorldView localWV,
ILifecycleBus bus)
This method is called when a new localWorldView is created and wants to use this sharedWorldView,
the method registers the LocalWorldView with the sharedWorldView's sharedComponentBus and also
internally stores the information about which WorldViews are registered to it.
|
void |
AbstractSharedWorldView.removeComponentBus(IAgentId agentId,
ILifecycleBus bus) |
| Constructor and Description |
|---|
AbstractLocalWorldView(ComponentDependencies dependencies,
ILifecycleBus bus,
IAgentLogger logger,
ISharedWorldView sharedWV,
ITeamedAgentId agentId) |
BatchAwareLocalWorldView(ComponentDependencies dependencies,
ILifecycleBus bus,
IAgentLogger logger,
ISharedWorldView parentWorldView,
ITeamedAgentId agentId) |
EventDrivenLocalWorldView(ComponentDependencies dependencies,
ILifecycleBus bus,
IAgentLogger logger,
ISharedWorldView sharedWV,
ITeamedAgentId agentId) |
VisionLocalWorldView(ComponentDependencies dependencies,
ILifecycleBus bus,
IAgentLogger logger,
ISharedWorldView parentWorldView,
ITeamedAgentId agentId) |
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.