public interface KernelListener
Modifier and Type | Method and Description |
---|---|
void |
agentAdded(Kernel kernel,
AgentProxy agent)
Notification that an agent has been added.
|
void |
agentRemoved(Kernel kernel,
AgentProxy agent)
Notification that an agent has been removed.
|
void |
simulationEnded(Kernel kernel)
Notification that the kernel has ended the simulation and shut down.
|
void |
simulationStarted(Kernel kernel)
Notification that the kernel has started the simulation.
|
void |
simulatorAdded(Kernel kernel,
SimulatorProxy simulator)
Notification that a simulator has been added.
|
void |
simulatorRemoved(Kernel kernel,
SimulatorProxy simulator)
Notification that a simulator has been removed.
|
void |
timestepCompleted(Kernel kernel,
Timestep time)
Notification that a timestep has been completed.
|
void |
viewerAdded(Kernel kernel,
ViewerProxy viewer)
Notification that a viewer has been added.
|
void |
viewerRemoved(Kernel kernel,
ViewerProxy viewer)
Notification that a viewer has been removed.
|
void simulationStarted(Kernel kernel)
kernel
- The kernel.void simulationEnded(Kernel kernel)
kernel
- The kernel.void timestepCompleted(Kernel kernel, Timestep time)
kernel
- The kernel.time
- The timestep that has just been completed.void agentAdded(Kernel kernel, AgentProxy agent)
kernel
- The kernel.agent
- The agent that was added.void agentRemoved(Kernel kernel, AgentProxy agent)
kernel
- The kernel.agent
- The agent that was removed.void simulatorAdded(Kernel kernel, SimulatorProxy simulator)
kernel
- The kernel.simulator
- The simulator that was added.void simulatorRemoved(Kernel kernel, SimulatorProxy simulator)
kernel
- The kernel.simulator
- The simulator that was removed.void viewerAdded(Kernel kernel, ViewerProxy viewer)
kernel
- The kernel.viewer
- The viewer that was added.void viewerRemoved(Kernel kernel, ViewerProxy viewer)
kernel
- The kernel.viewer
- The viewer that was removed.