org.cogchar.api.integroid.cue
Class PersonCue

java.lang.Object
  extended by org.cogchar.zzz.platform.stub.PropertyChangeNotifier
      extended by org.cogchar.zzz.platform.stub.ThalamentStub
          extended by org.cogchar.zzz.platform.stub.CueStub
              extended by org.cogchar.api.sight.SightCue
                  extended by org.cogchar.api.integroid.cue.PersonCue
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BogeyCue, FriendCue

public abstract class PersonCue
extends SightCue

Author:
Stu B.
See Also:
Serialized Form

Nested Class Summary
static class PersonCue.NameSource
           
 
Field Summary
 
Fields inherited from class org.cogchar.zzz.platform.stub.CueStub
PROP_EXPIRY, PROP_STRENGTH
 
Constructor Summary
protected PersonCue()
           
 
Method Summary
 void consume(PersonCue pc)
           
 Double getAttentionEligibilityScore(double peakEligibilityStrength)
           
 String getContentSummaryString()
           
 Integer getNameInquiryCount()
           
 Boolean getNameInquiryNeeded()
           
 PersonCue.NameSource getNameSource()
           
 Double getPermPersonConfirmAgeSec()
           
 Long getPermPersonConfirmStamp()
           
 String getPermPersonID()
          Stub versions of methods that have moved to FriendCue
 Integer getPersonalGreetingCount()
           
 String getSpokenName()
           
 void incrementNameInquiryCount()
           
 void incrementPersonalGreetingCount()
           
 void setNameInquiryNeeded(Boolean needed)
           
 void setOrConfirmPermPersonID(String permID, Long confirmedObsStamp)
           
 void setSpokenNameAndSource(String name, PersonCue.NameSource ns)
           
 
Methods inherited from class org.cogchar.api.sight.SightCue
fetchSessionCueID, getAttentionConfirmAgeSec, getAttentionConfirmSec, getAttentionStartAgeSec, getAttentionStartSec, getAttentionStatus, getAttentionStatusAgeSec, getAttentionStopAgeSec, getAttentionStopSec, notifyAttentionConfirmed, notifyAttentionStarted, notifyAttentionStopped, setAttentionStatus
 
Methods inherited from class org.cogchar.zzz.platform.stub.CueStub
autoUpdateOnPropertyChange, broadcastUpdateNotice, getScheduledExpireTimeMsec, getScheduledExpireTimeSec, getStatString, getStrength, setScheduledExpireTimeMsec, setStrength, toString
 
Methods inherited from class org.cogchar.zzz.platform.stub.ThalamentStub
fetchBroker, getCausingThalament, getCreateAgeSec, getCreateStampMsec, getSimpleClassName, getThalamentID, getTypeString, getUpdateAgeSec, getUpdateStampMsec, markUpdated, markUpdatedNow, setBroker, setCausingThalament, setCreateStampMsec, setUpdateStampMsec
 
Methods inherited from class org.cogchar.zzz.platform.stub.PropertyChangeNotifier
addPropertyChangeListener, completeInit, removePropertyChangeListener, safelyFirePropertyChange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersonCue

protected PersonCue()
Method Detail

getSpokenName

public String getSpokenName()

getNameSource

public PersonCue.NameSource getNameSource()

setSpokenNameAndSource

public void setSpokenNameAndSource(String name,
                                   PersonCue.NameSource ns)

getPersonalGreetingCount

public Integer getPersonalGreetingCount()

incrementPersonalGreetingCount

public void incrementPersonalGreetingCount()

getNameInquiryCount

public Integer getNameInquiryCount()

incrementNameInquiryCount

public void incrementNameInquiryCount()

getNameInquiryNeeded

public Boolean getNameInquiryNeeded()

setNameInquiryNeeded

public void setNameInquiryNeeded(Boolean needed)

consume

public void consume(PersonCue pc)

getAttentionEligibilityScore

public Double getAttentionEligibilityScore(double peakEligibilityStrength)

getContentSummaryString

public String getContentSummaryString()
Overrides:
getContentSummaryString in class SightCue

setOrConfirmPermPersonID

public void setOrConfirmPermPersonID(String permID,
                                     Long confirmedObsStamp)

getPermPersonID

public String getPermPersonID()
Stub versions of methods that have moved to FriendCue


getPermPersonConfirmStamp

public Long getPermPersonConfirmStamp()

getPermPersonConfirmAgeSec

public Double getPermPersonConfirmAgeSec()


Copyright © 2010-2012. All Rights Reserved.