K
- public interface IObjectCreator<K extends IObjectKey>
PerceptManager
to create IObjectKey
s and their associated
ISensoryObject
s (typically a IAfferentObject
). Ultimately, this class will
also be responsible for the removal of the percept.Modifier and Type | Method and Description |
---|---|
boolean |
canDelete(IObjectKey objectKey)
test to see if the object key can be destroyed, removing the percept entirely.
|
void |
configure(java.util.Map<java.lang.String,java.lang.String> options) |
K |
createKey(java.lang.Object object)
create the key for this object
|
ISensoryObject |
createObject(K objectKey,
java.lang.Object object,
ISensor sensor,
IAgentObject agent)
create the initial percept, which can later be refined by
IObjectProcessor s |
boolean |
deleteKey(IObjectKey objectKey)
delete the key and disconnect any listeners.
|
boolean |
handles(java.lang.Object object)
can this creator deal with this type of object
|
void |
installed(PerceptManager manager) |
void |
uninstalled(PerceptManager manager) |
boolean handles(java.lang.Object object)
ISensoryObject createObject(K objectKey, java.lang.Object object, ISensor sensor, IAgentObject agent)
IObjectProcessor
sobjectKey
- object
- sensor
- agent
- K createKey(java.lang.Object object)
object
- boolean canDelete(IObjectKey objectKey)
objectKey
- boolean deleteKey(IObjectKey objectKey)
objectKey
- void installed(PerceptManager manager)
void uninstalled(PerceptManager manager)
void configure(java.util.Map<java.lang.String,java.lang.String> options)