MoleculeAgentManager.MoleculeAgentSource, java.io.Serializableprotected static class CoordinateDefinitionMoleculeVolumeFluctuation.MoleculeSiteSource extends java.lang.Object implements MoleculeAgentManager.MoleculeAgentSource, java.io.Serializable
| Modifier and Type | Field | Description |
|---|---|---|
protected IMoleculePositionDefinition |
positionDefinition |
| Constructor | Description |
|---|---|
MoleculeSiteSource(Space space,
IMoleculePositionDefinition positionDefinition) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
makeAgent(IMolecule molecule) |
Returns an agent for the given Atom.
|
void |
releaseAgent(java.lang.Object agent,
IMolecule molecule) |
This informs the agent source that the agent is going away and that
the agent source should disconnect the agent from other elements
|
protected final IMoleculePositionDefinition positionDefinition
public MoleculeSiteSource(Space space, IMoleculePositionDefinition positionDefinition)
public java.lang.Object makeAgent(IMolecule molecule)
MoleculeAgentManager.MoleculeAgentSourcemakeAgent in interface MoleculeAgentManager.MoleculeAgentSourcepublic void releaseAgent(java.lang.Object agent,
IMolecule molecule)
MoleculeAgentManager.MoleculeAgentSourcereleaseAgent in interface MoleculeAgentManager.MoleculeAgentSource