@AnyLogicInternalCodegenAPI public interface AgentExtension extends java.io.Serializable
Agent
s.Modifier and Type | Field and Description |
---|---|
static int |
P_AGENT_INTERACTIVE_DELEGATE |
static int |
P_AGENT_WITH_SPATIAL_METRICS_DELEGATE |
static int |
P_AGENT_WITH_SPECIFIC_SPACE |
static int |
P_AGENT_WITH_SPECIFIC_SPACE_DELEGATE |
static int |
P_ENTITY_DELEGATE |
static int |
P_ENV_WITH_SPECIFIC_SPACE |
static int |
P_ROOT |
static int |
P_SPACE |
static int |
P_USER_EXT |
Modifier and Type | Method and Description |
---|---|
Agent |
getAgent()
Returns the agent this extension belongs to
|
AgentExtension |
next_xjal()
This method is internal and shouldn't be called by user.
|
void |
onDestroy()
This method is called when the owner of this extension is destroyed.
|
void |
onExtensionRemoved(AgentExtension ext)
This method is internal and shouldn't be called by user.
|
int |
priority()
This method is internal and shouldn't be called by user.
|
void |
setNext_xjal(AgentExtension next)
This method is internal and shouldn't be called by user.
|
boolean |
supportsInterface_xjal(java.lang.Class<?> itfs)
This method is internal and shouldn't be called by user.
|
@AnyLogicInternalAPI static final int P_AGENT_WITH_SPECIFIC_SPACE
@AnyLogicInternalAPI static final int P_AGENT_WITH_SPECIFIC_SPACE_DELEGATE
@AnyLogicInternalAPI static final int P_AGENT_WITH_SPATIAL_METRICS_DELEGATE
@AnyLogicInternalAPI static final int P_AGENT_INTERACTIVE_DELEGATE
@AnyLogicInternalAPI static final int P_ENTITY_DELEGATE
@AnyLogicInternalAPI static final int P_ENV_WITH_SPECIFIC_SPACE
@AnyLogicInternalAPI static final int P_USER_EXT
@AnyLogicInternalAPI static final int P_ROOT
@AnyLogicInternalAPI static final int P_SPACE
@AnyLogicInternalAPI AgentExtension next_xjal()
@AnyLogicInternalAPI void setNext_xjal(AgentExtension next)
Agent getAgent()
@AnyLogicInternalAPI void onDestroy()
@AnyLogicInternalAPI boolean supportsInterface_xjal(java.lang.Class<?> itfs)
@AnyLogicInternalAPI int priority()
P_*
constants@AnyLogicInternalAPI void onExtensionRemoved(AgentExtension ext)
onDestroy()
isn't called when extension is removed.ext
- the extension which has just been removedCopyright © AnyLogic North America, LLC. All Rights Reserved.