public class AudioFileOutputReasoning extends Reasoning
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
channel
The channel.
|
(package private) int |
device
The device.
|
private java.util.HashMap<java.lang.String,Memory> |
earMemories
The ear memories.
|
(package private) int |
maxChannels
The max channels.
|
private java.util.HashMap<java.lang.String,java.lang.Integer> |
numChannels
The num channels.
|
private java.util.HashMap<java.lang.String,java.io.FileOutputStream> |
outFiles
The out files.
|
parameters| Constructor and Description |
|---|
AudioFileOutputReasoning() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
eventHandlerRegistered(EventHandler evtHdl)
Chamado no momento em que um novo EventHandler é registrado no Agente Musical.
|
boolean |
finit()
User-implemented finalization method, called by stop().
|
boolean |
init()
User-implemented initialization method, called by start().
|
void |
newSense(Sensor sourceSensor,
double instant,
double duration)
Chamado no momento que o Agente Musical recebe um novo evento (e o raciocínio está registrado no Sensor).
|
void |
processCommand(Command cmd)
An user-implemented method to process a received command.
|
eventHandlerDeregistered, needAction, needAction, process, setWakeUp, start, stopaddParameter, addParameters, configure, getAddress, getAgent, getComponentName, getComponentType, getParameter, getParameter, getParameters, getState, getType, parameterUpdate, receiveCommand, sendCommand, setAgent, setComponentName, setParameters, setState, setTypeprivate java.util.HashMap<java.lang.String,Memory> earMemories
private java.util.HashMap<java.lang.String,java.lang.Integer> numChannels
private java.util.HashMap<java.lang.String,java.io.FileOutputStream> outFiles
int device
int channel
int maxChannels
public boolean init()
LifeCycleinit in interface LifeCycleinit in class MusicalAgentComponentpublic boolean finit()
LifeCyclefinit in interface LifeCyclefinit in class MusicalAgentComponentprotected void eventHandlerRegistered(EventHandler evtHdl)
ReasoningeventHandlerRegistered in class ReasoningevtHdl - the evt hdlpublic void newSense(Sensor sourceSensor, double instant, double duration)
Reasoningpublic void processCommand(Command cmd)
RouterClientprocessCommand in interface RouterClientprocessCommand in class MusicalAgentComponentcmd - the cmd