|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.amis.pogamut.sposh.executor.StateSense<CONTEXT,RETURN>
CONTEXT
- Context of this sense, used to manipulate the environment.RETURN
- Class of object this action returns every time it is queried.public abstract class StateSense<CONTEXT extends Context,RETURN>
Basic state sense primitive. It contains context and name. Wizzard for new state sense generates class that is extension of this class.
Field Summary | |
---|---|
protected CONTEXT |
ctx
Context for the action |
Constructor Summary | |
---|---|
protected |
StateSense(CONTEXT ctx)
Create new sense with context. |
protected |
StateSense(String name,
CONTEXT ctx)
Create new sense with context. |
Method Summary | |
---|---|
CONTEXT |
getCtx()
The state sense context. |
String |
getName()
Get name of the sense. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface cz.cuni.amis.pogamut.sposh.executor.ISense |
---|
query |
Field Detail |
---|
protected final CONTEXT extends Context ctx
Constructor Detail |
---|
protected StateSense(String name, CONTEXT ctx)
name
- name of the sense.ctx
- action context, used as shared memory or environment interactor.protected StateSense(CONTEXT ctx)
ctx
- action context, used as shared memory or environment interactor.Method Detail |
---|
public CONTEXT getCtx()
public final String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |