#include <BeamAudio.hh>
Collaboration diagram for clBeamAudio:

Public Member Functions | |
| clBeamAudio (int, int) | |
| ~clBeamAudio () | |
| int | Main () |
| void | Stop () |
Private Member Functions | |
| bool | GetCfg () |
| bool | GetRq () |
| bool | ConnectStream () |
| bool | InitBeam () |
| bool | SendFirst () |
| void | SetDirection () |
| void | ProcessLoop () |
| bool | SendResult (GDT *, long) |
Private Attributes | |
| bool | bRun |
| int | iArrayType |
| int | iShadingType |
| long | lStartCh |
| long | lWindowSize |
| long | lSensorCount |
| GDT | fSensorSpacing |
| char | cpStreamSocket [_POSIX_PATH_MAX+1] |
| GDT | fAttenuation |
| stBeamAudioReq | sRequest |
| stBeamAudioRes | sResHdr |
| stRawDataFirst | sRawHdr |
| clCfgFile | CfgFile |
| clBeamAudioMsg | Msg |
| clDSPOp | DSP |
| clSockClie | SClient |
| clSockOp | SOpRaw |
| clSockOp | SOpRequest |
| clSockOp | SOpResult |
| clFreqBeamDipole | FBeamDipole |
| clFreqBeamLine | FBeamLine |
Definition at line 55 of file BeamAudio.hh.
|
||||||||||||
|
Definition at line 302 of file BeamAudio.cc. References bRun, clSockOp::DisableNagle(), fAttenuation, GDT, clSockOp::SetHandle(), SOpRequest, and SOpResult. |
|
|
Definition at line 312 of file BeamAudio.cc. |
|
|
Definition at line 97 of file BeamAudio.cc. References BA_CFGFILE, BA_DEF_FRAGMENT_SIZE, CfgFile, cpStreamSocket, fSensorSpacing, clCfgFile::GetFlt(), clCfgFile::GetInt(), clCfgFile::GetStr(), iArrayType, iShadingType, lSensorCount, lStartCh, lWindowSize, SD_CFGFILE, and clCfgFile::SetFileName(). Referenced by Main(). |
|
|
Definition at line 113 of file BeamAudio.cc. References BA_1STREQ_TIMEOUT, clBeamAudioMsg::GetRequest(), GLOBAL_HEADER_LEN, Msg, clSockOp::ReadN(), clSockOp::ReadSelect(), SOpRequest, and sRequest. Referenced by Main(), and ProcessLoop(). |
|
|
Definition at line 125 of file BeamAudio.cc. References BA_RAW1ST_TIMEOUT, clSockClie::Connect(), cpStreamSocket, _stRawDataReq::iChannel, clSockOp::ReadN(), clSockOp::ReadSelect(), SClient, clSockOp::SetHandle(), SOpRaw, sRawHdr, and clSockOp::WriteN(). Referenced by Main(). |
|
|
|
Definition at line 190 of file BeamAudio.cc. References _stRawDataFirst::dSampleRate, GLOBAL_HEADER_LEN, _stBeamAudioFirst::iSampleRate, _stBeamAudioFirst::lBufLength, lWindowSize, Msg, clBeamAudioMsg::SetFirst(), SOpResult, sRawHdr, and clSockOp::WriteN(). Referenced by Main(). |
|
|
Definition at line 204 of file BeamAudio.cc. References BA_ARRAY_TYPE_CYLINDER, BA_ARRAY_TYPE_DIPOLE, BA_ARRAY_TYPE_LINE, BA_ARRAY_TYPE_PLANE, BA_ARRAY_TYPE_SPHERE, BA_ARRAY_TYPE_TRIANGLE, _stBeamAudioReq::bHighFreq, FBeamDipole, FBeamLine, _stBeamAudioReq::fDirection, iArrayType, clFreqBeamLine::SetDirection(), clFreqBeamDipole::SetDirection(), and sRequest. Referenced by ProcessLoop(). |
|
|
Definition at line 226 of file BeamAudio.cc. References BA_ARRAY_TYPE_CYLINDER, BA_ARRAY_TYPE_DIPOLE, BA_ARRAY_TYPE_LINE, BA_ARRAY_TYPE_PLANE, BA_ARRAY_TYPE_SPHERE, BA_ARRAY_TYPE_TRIANGLE, bRun, DSP, FBeamDipole, FBeamLine, GDT, clFreqBeamLine::Get(), clFreqBeamDipole::Get(), GetRq(), iArrayType, _stRawDataFirst::iChannels, lStartCh, lWindowSize, clFreqBeamLine::Put(), clFreqBeamDipole::Put(), clSockOp::ReadN(), clSockOp::ReadSelect(), SendResult(), SetDirection(), SOpRaw, SOpRequest, and sRawHdr. Referenced by Main(). |
|
||||||||||||
|
Definition at line 281 of file BeamAudio.cc. References DSP, fAttenuation, _stBeamAudioReq::fDirection, _stBeamAudioRes::fDirection, _stBeamAudioRes::fPeakLevel, GDT, GLOBAL_HEADER_LEN, _stBeamAudioRes::lBufLength, Msg, clBeamAudioMsg::SetResult(), SOpResult, sRequest, sResHdr, _stBeamAudioRes::sTimeStamp, and clSockOp::WriteN(). Referenced by ProcessLoop(). |
|
|
Definition at line 317 of file BeamAudio.cc. References bDebug, ConnectStream(), GetCfg(), GetRq(), InitBeam(), ProcessLoop(), and SendFirst(). Referenced by main(). |
|
|
Definition at line 92 of file BeamAudio.hh. References bRun. |
|
|
Definition at line 57 of file BeamAudio.hh. Referenced by clBeamAudio(), ProcessLoop(), and Stop(). |
|
|
Definition at line 59 of file BeamAudio.hh. Referenced by GetCfg(), InitBeam(), ProcessLoop(), and SetDirection(). |
|
|
Definition at line 60 of file BeamAudio.hh. Referenced by GetCfg(). |
|
|
Definition at line 61 of file BeamAudio.hh. Referenced by GetCfg(), and ProcessLoop(). |
|
|
Definition at line 62 of file BeamAudio.hh. Referenced by GetCfg(), InitBeam(), ProcessLoop(), and SendFirst(). |
|
|
Definition at line 63 of file BeamAudio.hh. Referenced by GetCfg(), and InitBeam(). |
|
|
Definition at line 64 of file BeamAudio.hh. Referenced by GetCfg(), and InitBeam(). |
|
|
Definition at line 65 of file BeamAudio.hh. Referenced by ConnectStream(), and GetCfg(). |
|
|
Definition at line 67 of file BeamAudio.hh. Referenced by clBeamAudio(), and SendResult(). |
|
|
Definition at line 68 of file BeamAudio.hh. Referenced by GetRq(), InitBeam(), SendResult(), and SetDirection(). |
|
|
Definition at line 69 of file BeamAudio.hh. Referenced by SendResult(). |
|
|
Definition at line 70 of file BeamAudio.hh. Referenced by ConnectStream(), InitBeam(), ProcessLoop(), and SendFirst(). |
|
|
Definition at line 71 of file BeamAudio.hh. Referenced by GetCfg(). |
|
|
Definition at line 72 of file BeamAudio.hh. Referenced by GetRq(), SendFirst(), and SendResult(). |
|
|
Definition at line 73 of file BeamAudio.hh. Referenced by ProcessLoop(), and SendResult(). |
|
|
Definition at line 74 of file BeamAudio.hh. Referenced by ConnectStream(). |
|
|
Definition at line 75 of file BeamAudio.hh. Referenced by ConnectStream(), and ProcessLoop(). |
|
|
Definition at line 76 of file BeamAudio.hh. Referenced by clBeamAudio(), GetRq(), and ProcessLoop(). |
|
|
Definition at line 77 of file BeamAudio.hh. Referenced by clBeamAudio(), SendFirst(), and SendResult(). |
|
|
Definition at line 78 of file BeamAudio.hh. Referenced by InitBeam(), ProcessLoop(), and SetDirection(). |
|
|
Definition at line 79 of file BeamAudio.hh. Referenced by InitBeam(), ProcessLoop(), and SetDirection(). |
1.3.3