|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmadkit.kernel.AbstractAgent
madkit.kernel.Agent
madkit.scheme.SchemeAgent
madkit.scheme.LiveScheme
public class LiveScheme
A simple agent that extends the SchemeAgent to launch a interactive read-eval-print loop
| Field Summary |
|---|
| Fields inherited from class madkit.scheme.SchemeAgent |
|---|
env, envcount, err_p, interp, out_p |
| Constructor Summary | |
|---|---|
LiveScheme()
|
|
| Method Summary | |
|---|---|
void |
activate()
Loads the Scheme agent code, then evaluates the activate function, if bounded |
void |
initGUI()
This method is called by the specific external graphic system (as the G-Box) to ask the agent to prepare a graphical interface. |
void |
live()
Evaluates the live function, if bounded |
| Methods inherited from class madkit.kernel.Agent |
|---|
connectAgencyToAgency, createPlace, createPlace, enableMobility, enableMobility, exitImmediatlyOnKill, getAgencyNamed, joinPlace, joinPlace, joinPlace, pause, receiveMessage, run, waitNextMessage, waitNextMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LiveScheme()
| Method Detail |
|---|
public void initGUI()
AbstractAgent
initGUI in class SchemeAgentpublic void activate()
SchemeAgent
activate in class SchemeAgentpublic void live()
SchemeAgent
live in class SchemeAgent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||