Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

clFreqBeamDipole Class Reference

Frequency-domain beamforming for dipole array. More...

#include <FreqBeamDipole.hh>

Collaboration diagram for clFreqBeamDipole:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 clFreqBeamDipole ()
 ~clFreqBeamDipole ()
void SetDebug (bool)
 Enable/disable debug printouts.

bool Initialize (GDT, long, GDT)
 Initialize dipole array.

void SetSoundSpeed (GDT)
 Set speed of sound.

void SetDirection (GDT, bool)
 Set direction.

void Put (const GDT *, long, long, long)
 Put data into beamformer.

bool Get (GDT *, long)
 Get data from beamformer.


Protected Attributes

GDT fSensorSpacing
clArraySensor Sensors [2]

Detailed Description

Frequency-domain beamforming for dipole array.

Definition at line 34 of file FreqBeamDipole.hh.


Constructor & Destructor Documentation

clFreqBeamDipole::clFreqBeamDipole  )  [inline]
 

Definition at line 40 of file FreqBeamDipole.hh.

clFreqBeamDipole::~clFreqBeamDipole  )  [inline]
 

Definition at line 41 of file FreqBeamDipole.hh.


Member Function Documentation

void clFreqBeamDipole::SetDebug bool   ) 
 

Enable/disable debug printouts.

Parameters:
bDebug Enable/disable debug printouts

Definition at line 31 of file FreqBeamDipole.cc.

References clArraySensor::DisableDebug(), clArraySensor::EnableDebug(), and Sensors.

Referenced by clBeamAudio::InitBeam().

bool clFreqBeamDipole::Initialize GDT  ,
long  ,
GDT 
 

Initialize dipole array.

Parameters:
fSpacing Sensor spacing (m)
lWinSize Window size
fSampleRate Sampling rate
Returns:
Success

Definition at line 43 of file FreqBeamDipole.cc.

References fSensorSpacing, clArraySensor::Initialize(), Sensors, and clArraySensor::SetSampleRate().

Referenced by clBeamAudio::InitBeam(), clBeamSrv2Slave::Main(), and clBeamSrvSlave::Main().

void clFreqBeamDipole::SetSoundSpeed GDT   ) 
 

Set speed of sound.

Parameters:
fSoundSpeed Speed of sound (m/s)

Definition at line 60 of file FreqBeamDipole.cc.

References fSensorSpacing, Sensors, clArraySensor::SetArrayFrequency(), and clArraySensor::SetSoundSpeed().

Referenced by clBeamAudio::InitBeam(), clBeamSrv2Slave::Main(), and clBeamSrvSlave::Main().

void clFreqBeamDipole::SetDirection GDT  ,
bool 
 

Set direction.

Parameters:
fDirection Direction (rad)
bLowPass Lowpass filter

Definition at line 73 of file FreqBeamDipole.cc.

References Sensors, and clArraySensor::SetDirection().

Referenced by clBeamAudio::InitBeam(), clBeamSrv2Slave::Main(), clBeamSrvSlave::Main(), and clBeamAudio::SetDirection().

void clFreqBeamDipole::Put const GDT *  ,
long  ,
long  ,
long 
 

Put data into beamformer.

Parameters:
fpSrc Source vector
lSrcCount Number of samples in source vector
lSensorOffs Sensor offset in source vector
lChannels Number of channels in source vector

Definition at line 89 of file FreqBeamDipole.cc.

References clArraySensor::Put(), and Sensors.

Referenced by clBeamSrv2Slave::Main(), clBeamSrvSlave::Main(), and clBeamAudio::ProcessLoop().

bool clFreqBeamDipole::Get GDT *  ,
long 
 

Get data from beamformer.

Parameters:
fpDest Destination vector
lDestCount Number of samples to put into destination vector
Returns:
Success

Definition at line 105 of file FreqBeamDipole.cc.

References GDT, clArraySensor::Get(), and Sensors.

Referenced by clBeamSrv2Slave::Main(), clBeamSrvSlave::Main(), and clBeamAudio::ProcessLoop().


Member Data Documentation

GDT clFreqBeamDipole::fSensorSpacing [protected]
 

Definition at line 37 of file FreqBeamDipole.hh.

Referenced by Initialize(), and SetSoundSpeed().

clArraySensor clFreqBeamDipole::Sensors[2] [protected]
 

Definition at line 38 of file FreqBeamDipole.hh.

Referenced by Get(), Initialize(), Put(), SetDebug(), SetDirection(), and SetSoundSpeed().


The documentation for this class was generated from the following files:
Generated on Sun Oct 26 19:12:18 2003 for HASAS by doxygen 1.3.3