|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
eu.semaine.components.Component
eu.semaine.components.dialogue.interpreters.NonVerbalInterpreter
public class NonVerbalInterpreter
The NonVerbalInterpreter receives Non-Verbal data from the NonVerbal Fusion component, and if the confidence is higher than the specified threshold it will put it in the userstate. Input EmmaReceiver('semaine.data.state.user.emma.nonverbal') Output StateSender('semaine.data.state.user.behaviour')
Nested Class Summary |
---|
Nested classes/interfaces inherited from class eu.semaine.components.Component |
---|
Component.State |
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class eu.semaine.components.Component |
---|
inputWaiting, isInput, isOutput, log, meta, receivers, senders, state, waitingTime |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
NonVerbalInterpreter()
Constructor of NonVerBalInterpreter |
Method Summary | |
---|---|
void |
checkNewAUList(java.util.HashSet<java.lang.Integer> auList)
|
void |
react(SEMAINEMessage m)
Checks if the received message is an EmmaMessage, and based on the content it will check if the confidence is high enough to put the received data in the UserState. |
void |
sendUserStateChange(java.lang.String[] shortNames,
java.lang.String[] values)
Sends the given variable names and values to the UserState. |
void |
sendUserStateChange(java.lang.String shortName,
java.lang.String value)
Sends the given variable name and value to the UserState. |
Methods inherited from class eu.semaine.components.Component |
---|
act, customStartIO, exitRequested, messageAvailableFrom, requestExit, run |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NonVerbalInterpreter() throws javax.jms.JMSException
javax.jms.JMSException
Method Detail |
---|
public void react(SEMAINEMessage m) throws javax.jms.JMSException
react
in class Component
javax.jms.JMSException
- if communication with the JMS server goes wrong.public void checkNewAUList(java.util.HashSet<java.lang.Integer> auList) throws javax.jms.JMSException
javax.jms.JMSException
public void sendUserStateChange(java.lang.String shortName, java.lang.String value) throws javax.jms.JMSException
javax.jms.JMSException
public void sendUserStateChange(java.lang.String[] shortNames, java.lang.String[] values) throws javax.jms.JMSException
javax.jms.JMSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |