#include <BeamSrv2.hh>
Collaboration diagram for clBeamSrv2Master:

Public Member Functions | |
| clBeamSrv2Master () | |
| ~clBeamSrv2Master () | |
| int | Main (int *, char ***) |
| void * | InDataThread (void *) |
| void * | ServerThread (void *) |
| void * | ServeClientThread (void *) |
Static Public Member Functions | |
| void | Abort (int=0) |
Private Member Functions | |
| bool | ReadConfig () |
| bool | InitFilterBank () |
| bool | InitProcessing () |
| bool | WaitReady () |
| void | ProcessLoop () |
| void | CompactData (GDT *, const GDT *, long, long, long, long) |
| bool | FilterData (GDT *, const GDT *, long, long, long, long) |
Private Attributes | |
| int | iFilterType |
| int | iDecimate |
| int | iDecFact |
| int | iChOffset |
| int | iOutDataCount |
| char | cpLogBuf [BS_LOGBUFSIZE] |
| stRawDataFirst | sInHdr |
| stBeamNodeParams | sNodeParams |
| clAlloc | FiltWork |
| clCfgFile | Cfg |
| clDSPOp | DSP |
| clLogFile | Log |
| clRecDecimator * | FilterBank |
| clSockOp | SOpIn |
| clSockServ | SServ |
| clReBuffer | InBuf |
| clSemaphore | SemIn |
| clMutex | MtxIn |
| clAlloc | OutData |
| clCondition | CndOut |
| clMutex | MtxOut |
This node reads data from streamdist, distributes it to slave nodes, collects beamformed data and sends it to clients. Each beam is represented as a channel at output.
Definition at line 63 of file BeamSrv2.hh.
|
|
Definition at line 424 of file BeamSrv2.cc. References clLogFile::Add(), BS_LOGFILE, FilterBank, Log, and clLogFile::Open(). |
|
|
Definition at line 432 of file BeamSrv2.cc. References clLogFile::Add(), FilterBank, and Log. |
|
|
Definition at line 159 of file BeamSrv2.cc. References clLogFile::Add(), Cfg, _stBeamNodeParams::fSoundSpeed, _stBeamNodeParams::fSpacing, clCfgFile::GetFlt(), clCfgFile::GetInt(), _stBeamNodeParams::iBeamCount, _stBeamNodeParams::iBlockSize, iDecimate, _stBeamNodeParams::iSensors, _stBeamNodeParams::iType, _stBeamNodeParams::iWindowSize, Log, and sNodeParams. Referenced by Main(). |
|
|
Definition at line 206 of file BeamSrv2.cc. References Abort(), clLogFile::Add(), Cfg, cpLogBuf, _stRawDataFirst::dSampleRate, FilterBank, _stBeamNodeParams::fSampleRate, _stBeamNodeParams::fSoundSpeed, _stBeamNodeParams::fSpacing, GDT, clCfgFile::GetInt(), iDecFact, iDecimate, iFilterType, _stBeamNodeParams::iSensors, _stBeamNodeParams::iWindowSize, Log, sInHdr, and sNodeParams. Referenced by Main(). |
|
|
Definition at line 251 of file BeamSrv2.cc. References clLogFile::Add(), BeamCommNodeParams(), _stBeamNodeParams::iBeamCount, _stRawDataFirst::iChannels, iChOffset, _stBeamNodeParams::iSensors, Log, sInHdr, and sNodeParams. Referenced by Main(). |
|
|
Definition at line 272 of file BeamSrv2.cc. References clLogFile::Add(), BS_TAG_READY, cpLogBuf, _stBeamNodeParams::iBeamCount, Log, and sNodeParams. Referenced by Main(). |
|
|
Definition at line 292 of file BeamSrv2.cc. References clLogFile::Add(), BeamCommInData(), bRun, BS_TAG_RES, CndOut, CompactData(), cpLogBuf, DSP, FilterData(), GDT, _stBeamNodeParams::iBeamCount, _stBeamNodeParams::iBlockSize, _stRawDataFirst::iChannels, iChOffset, iDecFact, InBuf, iOutDataCount, _stBeamNodeParams::iSensors, Log, MtxIn, MtxOut, OutData, SemIn, sInHdr, and sNodeParams. Referenced by Main(). |
|
||||||||||||||||||||||||||||
|
Definition at line 374 of file BeamSrv2.cc. Referenced by ProcessLoop(). |
|
||||||||||||||||||||||||||||
|
Definition at line 394 of file BeamSrv2.cc. References DSP, FilterBank, FiltWork, and GDT. Referenced by ProcessLoop(). |
|
||||||||||||
|
|
Definition at line 535 of file BeamSrv2.cc. Referenced by InDataThread(), InitFilterBank(), and Main(). |
|
|
Definition at line 541 of file BeamSrv2.cc. References Abort(), bRun, GDT, _stBeamNodeParams::iBlockSize, _stRawDataFirst::iChannels, InBuf, MtxIn, clSockOp::ReadN(), SemIn, sInHdr, sNodeParams, and SOpIn. Referenced by Main(). |
|
|
Definition at line 566 of file BeamSrv2.cc. References BeamSrvMasterThreads, bRun, BS_ACCEPT_TO, ServeClientThread(), SServ, and clSockServ::WaitForConnect(). Referenced by Main(). |
|
|
|
Definition at line 65 of file BeamSrv2.hh. Referenced by InitFilterBank(). |
|
|
Definition at line 66 of file BeamSrv2.hh. Referenced by InitFilterBank(), and ReadConfig(). |
|
|
Definition at line 67 of file BeamSrv2.hh. Referenced by InitFilterBank(), and ProcessLoop(). |
|
|
Definition at line 68 of file BeamSrv2.hh. Referenced by InitProcessing(), Main(), and ProcessLoop(). |
|
|
Definition at line 69 of file BeamSrv2.hh. Referenced by ProcessLoop(), and ServeClientThread(). |
|
|
Definition at line 70 of file BeamSrv2.hh. Referenced by InitFilterBank(), Main(), ProcessLoop(), and WaitReady(). |
|
|
Definition at line 71 of file BeamSrv2.hh. Referenced by InDataThread(), InitFilterBank(), InitProcessing(), Main(), and ProcessLoop(). |
|
|
Definition at line 72 of file BeamSrv2.hh. Referenced by InDataThread(), InitFilterBank(), InitProcessing(), ProcessLoop(), ReadConfig(), ServeClientThread(), and WaitReady(). |
|
|
Definition at line 73 of file BeamSrv2.hh. Referenced by FilterData(). |
|
|
Definition at line 74 of file BeamSrv2.hh. Referenced by InitFilterBank(), Main(), and ReadConfig(). |
|
|
Definition at line 75 of file BeamSrv2.hh. Referenced by FilterData(), and ProcessLoop(). |
|
|
Definition at line 76 of file BeamSrv2.hh. Referenced by clBeamSrv2Master(), InitFilterBank(), InitProcessing(), Main(), ProcessLoop(), ReadConfig(), ServeClientThread(), WaitReady(), and ~clBeamSrv2Master(). |
|
|
Definition at line 77 of file BeamSrv2.hh. Referenced by clBeamSrv2Master(), FilterData(), InitFilterBank(), and ~clBeamSrv2Master(). |
|
|
Definition at line 78 of file BeamSrv2.hh. Referenced by InDataThread(), and Main(). |
|
|
Definition at line 79 of file BeamSrv2.hh. Referenced by Main(), and ServerThread(). |
|
|
Definition at line 81 of file BeamSrv2.hh. Referenced by InDataThread(), and ProcessLoop(). |
|
|
Definition at line 82 of file BeamSrv2.hh. Referenced by InDataThread(), and ProcessLoop(). |
|
|
Definition at line 83 of file BeamSrv2.hh. Referenced by InDataThread(), and ProcessLoop(). |
|
|
Definition at line 85 of file BeamSrv2.hh. Referenced by ProcessLoop(), and ServeClientThread(). |
|
|
Definition at line 86 of file BeamSrv2.hh. Referenced by ProcessLoop(), and ServeClientThread(). |
|
|
Definition at line 87 of file BeamSrv2.hh. Referenced by ProcessLoop(), and ServeClientThread(). |
1.3.3