|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.micropsi.comp.common.AbstractComponent
org.micropsi.comp.agent.AgentFrameworkComponent
| Field Summary |
| Fields inherited from class org.micropsi.comp.common.AbstractComponent |
clients, config, consoleService, exproc, logger, prefixKey, runner, servers |
| Constructor Summary | |
AgentFrameworkComponent()
|
|
| Method Summary | |
java.lang.Thread |
getAgentThread()
Returns the Agent thread |
int |
getInnerType()
|
protected long |
getNextTicket()
Returns the next action ticket. |
void |
initializeWorldAdapters()
Loads and initializes the world adapters, creating action and percept descriptors. |
protected void |
performInitialisation()
Initializes the agent framework. |
void |
registerAdditionalQuestionType(ConsoleQuestionTypeIF q)
Registers an additional questiontype (with the override flag, so it's no problem to register the same type again). |
void |
run()
|
void |
shutdown()
|
void |
shutdownWorldAdapters()
Shuts down the agent's world adapters. |
void |
start()
|
| Methods inherited from class org.micropsi.comp.common.AbstractComponent |
getComponentDescriptor, getComponentID, getComponentRunner, getConsoleService, getExproc, getLogger, getRealLogger, initialize, overrideComponentID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AgentFrameworkComponent()
| Method Detail |
protected long getNextTicket()
protected void performInitialisation()
throws MicropsiException
performInitialisation in class AbstractComponentMicropsiExceptionpublic void registerAdditionalQuestionType(ConsoleQuestionTypeIF q)
q - the new question type to be registered
public void initializeWorldAdapters()
throws MicropsiException
MicropsiExceptionpublic void shutdownWorldAdapters()
public void start()
start in interface ActiveComponentIFpublic void run()
run in interface ActiveComponentIFpublic int getInnerType()
getInnerType in class AbstractComponentpublic java.lang.Thread getAgentThread()
public void shutdown()
shutdown in class AbstractComponent
|
(c) by Micropsi Project: http://www.cognitive-agents.org | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||