Baseband recording request. This request can be sent to an agent that supports baseband recording (Services.BASEBAND service).
Constructor and description |
---|
RecordBasebandSignalReq
() Create a recording request for a the nominal number of samples supported. |
RecordBasebandSignalReq
(int len) Create a recording request for a specified number of samples. |
RecordBasebandSignalReq
(AgentID recipient, int len) Create a recording request for a specified number of samples. |
Type Params | Return Type | Name and description |
---|---|---|
|
int |
getAdc() Gets the source ADC. |
|
Integer |
getRecLength() Gets the length of the recording in samples. |
|
Long |
getRecTime() Gets the time at which recording should start. |
|
void |
setAdc(int adc) Sets the source ADC number. |
|
void |
setRecLength(Integer len) Sets recording length in samples. |
|
void |
setRecTime(Long time) Sets recording time. |
|
String |
toString() |
Methods inherited from class | Name |
---|---|
class Message |
toString, setRecipient, setPerformative, getPerformative, getRecipient, setSender, getSender, setMessageID, getMessageID, setInReplyTo, getInReplyTo, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Create a recording request for a the nominal number of samples supported.
Create a recording request for a specified number of samples.
len
- number of samples to recordCreate a recording request for a specified number of samples.
recipient
- agent to send the request tolen
- number of samples to recordGets the source ADC.
Gets the length of the recording in samples.
Gets the time at which recording should start. Zero or negative timestamps are considered relative.
Sets the source ADC number.
adc
- source ADC number, 0 if defaultSets recording length in samples.
len
- recording length in samples, null if unspecified (nominal length supported)Sets recording time. Recording will be triggered at the specified time. Zero or negative timestamps are considered relative.
time
- recording time in us, or nullCopyright 2013-19, Acoustic Research Laboratory, National University of Singapore, and Subnero Pte Ltd