org.commonreality.sensors.aural
Class DefaultAuralSensor
java.lang.Object
org.commonreality.participant.impl.AbstractParticipant
org.commonreality.sensors.AbstractSensor
org.commonreality.sensors.aural.DefaultAuralSensor
- All Implemented Interfaces:
- java.io.Serializable, IIdentifiable, IParticipant, ISensor
public class DefaultAuralSensor
- extends AbstractSensor
- See Also:
- Serialized Form
| Methods inherited from class org.commonreality.participant.impl.AbstractParticipant |
addClientService, addServerService, getAgentObjectManager, getClock, getEfferentCommandManager, getIdentifier, getSensorObjectManager, isConnected, isInitialized, isStarted, isSuspended, reset, send, stop, suspend, waitForConnection, waitForInitialization, waitForResumption, waitForStart, waitForStop, waitForSuspension |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.commonreality.participant.IParticipant |
getAgentObjectManager, getClock, getEfferentCommandManager, getSensorObjectManager, isConnected, isInitialized, isStarted, isSuspended, reset, send, stop, suspend, waitForConnection, waitForResumption, waitForStart, waitForStop, waitForSuspension |
MUTATOR_PREFIX
public static final java.lang.String MUTATOR_PREFIX
- See Also:
- Constant Field Values
DefaultAuralSensor
public DefaultAuralSensor()
configure
public void configure(java.util.Map<java.lang.String,java.lang.String> options)
throws java.lang.Exception
- Specified by:
configure in interface IParticipant- Overrides:
configure in class AbstractParticipant
- Throws:
java.lang.Exception
initialize
public void initialize()
throws java.lang.Exception
- Description copied from class:
AbstractParticipant
- called in response to a command from Reality to get everything ready to
run.
- Specified by:
initialize in interface IParticipant- Overrides:
initialize in class AbstractParticipant
- Throws:
java.lang.Exception
start
public void start()
throws java.lang.Exception
- Start it up by queueing the
Runnable _cycle on the Executor
- Specified by:
start in interface IParticipant- Overrides:
start in class AbstractParticipant
- Throws:
java.lang.Exception- See Also:
AbstractParticipant.start()
shutdown
public void shutdown()
throws java.lang.Exception
- Specified by:
shutdown in interface IParticipant- Overrides:
shutdown in class AbstractParticipant
- Throws:
java.lang.Exception
resume
public void resume()
throws java.lang.Exception
- Specified by:
resume in interface IParticipant- Overrides:
resume in class AbstractParticipant
- Throws:
java.lang.Exception
getName
public java.lang.String getName()
- Specified by:
getName in class AbstractParticipant
newSound
public IRealObject newSound(java.lang.String[] types,
java.lang.String content,
double onset,
double duration)
newVocalization
public IRealObject newVocalization(java.lang.String content,
double onset,
double duration,
IIdentifier agent)
queueSound
public void queueSound(IRealObject aural)