sk.robotics.rlcs.agents.os
Class ExecuterAgent

java.lang.Object
  extended by sk.robotics.rlcs.agentspace.Agent
      extended by sk.robotics.rlcs.agents.os.ExecuterAgent
All Implemented Interfaces:
java.lang.Runnable

public class ExecuterAgent
extends Agent

Agent for executing a command. This agent lauches new processes. It supports not only regularly executing fixed command, but also using values from space as arguments to the command, or even as the command itself.


Nested Class Summary
static class ExecuterAgent.Cfg
           
 
Nested classes/interfaces inherited from class sk.robotics.rlcs.agentspace.Agent
Agent.AgentThread, Agent.Hidden, Agent.ThreadCreator, Agent.WorkerThreadGroup
 
Field Summary
 
Fields inherited from class sk.robotics.rlcs.agentspace.Agent
logTimeFormat, space, thread, workerThreads
 
Constructor Summary
ExecuterAgent(ExecuterAgent.Cfg cfg)
           
 
Method Summary
protected  void cleanup()
          Cleanup method, called just before the agent thread finishes.
protected  void senseSelectAct()
           
 
Methods inherited from class sk.robotics.rlcs.agentspace.Agent
exit, getConfig, getIdleTime, getWorkerThreadGroup, isAlive, kill, log, log, log, log, log, run, senseSelectAct, setLogLevel, setPeriodicTrigger, setPeriodicTrigger, sleep, start, startup, toString, trigger, trigger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExecuterAgent

public ExecuterAgent(ExecuterAgent.Cfg cfg)
Method Detail

senseSelectAct

protected void senseSelectAct()
Overrides:
senseSelectAct in class Agent

cleanup

protected void cleanup()
Description copied from class: Agent
Cleanup method, called just before the agent thread finishes. Can be overriden to cleanup any allocated resources.

Overrides:
cleanup in class Agent