Version 1.2 (June 2013)
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
simulator.agent.HasReaction Interface Reference

Interface of methods that should be implemented for agent classes that are involved in solute reactions. More...

Inheritance diagram for simulator.agent.HasReaction:
simulator.agent.ActiveAgent simulator.agent.LocatedAgent simulator.agent.zoo.Bacterium simulator.agent.zoo.ParticulateEPS simulator.agent.zoo.BactEPS simulator.agent.zoo.BactAdaptable

Public Member Functions

void addActiveReaction (Reaction aReaction, boolean useDefaultParam)
 Add a previously declared reaction to the list that this agent is to participate in. More...
 
void addReaction (Reaction aReaction, boolean useDefaultParam)
 Add the details of a new reaction that a particular agent is to participate in. More...
 
void removeReaction (Reaction aPathway)
 Remove a reaction from those that the agent is involved in. More...
 
void switchOffreaction (Reaction aPathway)
 Switches off a particular reaction this agent is involved in but does not delete it from reaction list. More...
 
void switchOnReaction (Reaction aPathway)
 Switches on a particular reaction this agent is involved in. Must have been previously declared. More...
 

Detailed Description

Interface of methods that should be implemented for agent classes that are involved in solute reactions.

Interface of methods that should be implemented for agent classes that are involved in solute reactions

Member Function Documentation

void simulator.agent.HasReaction.addActiveReaction ( Reaction  aReaction,
boolean  useDefaultParam 
)

Add a previously declared reaction to the list that this agent is to participate in.

Add a previously declared reaction to the list that this agent is to participate in

Parameters
aReactionThe reaction object that this agent will participate with
useDefaultParamWhether or not the default reaction parameters should be used in this reaction

Implemented in simulator.agent.ActiveAgent.

void simulator.agent.HasReaction.addReaction ( Reaction  aReaction,
boolean  useDefaultParam 
)

Add the details of a new reaction that a particular agent is to participate in.

Add the details of a new reaction that a particular agent is to participate in

Parameters
aReactionThe reaction object that this agent will participate with
useDefaultParamWhether or not the default reaction parameters should be used in this reaction

Implemented in simulator.agent.ActiveAgent.

void simulator.agent.HasReaction.removeReaction ( Reaction  aPathway)

Remove a reaction from those that the agent is involved in.

Remove a reaction from those that the agent is involved in

Parameters
aPathwayReaction that this agent should no longer participate in

Implemented in simulator.agent.ActiveAgent.

void simulator.agent.HasReaction.switchOffreaction ( Reaction  aPathway)

Switches off a particular reaction this agent is involved in but does not delete it from reaction list.

Switches off a particular reaction this agent is involved in but does not delete it from reaction list

Parameters
aPathwayThe reaction object that should be switched off

Implemented in simulator.agent.ActiveAgent.

void simulator.agent.HasReaction.switchOnReaction ( Reaction  aPathway)

Switches on a particular reaction this agent is involved in. Must have been previously declared.

Switches on a particular reaction this agent is involved in. Must have been previously declared

Parameters
aPathwayThe reaction object that should be switched on

Implemented in simulator.agent.ActiveAgent.


The documentation for this interface was generated from the following file: