com.agentfactory.cldc
Class ValuesActuatorFact

java.lang.Object
  extended by com.agentfactory.cldc.ValuesActuatorFact
All Implemented Interfaces:
ActuatorFactory

public class ValuesActuatorFact
extends java.lang.Object
implements ActuatorFactory

Creates an instance of the values actuator using the agent's affect manager. It should be noted that factory classes are only required when migration is being used.

Author:
Conor Muldoon

Constructor Summary
ValuesActuatorFact()
           
 
Method Summary
 Actuator createActuator(AffectManager manager)
          Factory classes implement this interface to create an actuator in the migration process.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValuesActuatorFact

public ValuesActuatorFact()
Method Detail

createActuator

public Actuator createActuator(AffectManager manager)
Description copied from interface: ActuatorFactory
Factory classes implement this interface to create an actuator in the migration process. Each actuator that is created when an agent migrates on to a platform, will require its own factory. The manager is passed to the actuator's constructor.

Specified by:
createActuator in interface ActuatorFactory
Parameters:
manager - the affect manager for the agent.
Returns:
an actuator that was created by the factory.