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

clSubLocate Class Reference

Slave nodes for locate server. More...

#include <Locate.hh>

Collaboration diagram for clSubLocate:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 clSubLocate ()
 ~clSubLocate ()
int Main (int, char **)

Private Member Functions

bool RecvParams ()
bool Initialize ()
bool ConnectDir ()

Private Attributes

int iHostPort
int iDirMsgSize
long lWidth
long lHeight
long lPosX
long lPosY
float fAzimuth
char cpHostName [LOCATE_HOSTNAME_MAXLEN]
GDT * fpLevRes
GDT * fpDirRes
stDirCfg sDirCfg
clAlloc DirMsg
clAlloc LevRes
clAlloc DirRes
clLocateSensor LocSens
clMPIComm MPICCtrl
clMPIComm MPICParam
clMPIComm MPICNormal
clDirMsg2 Msg
clSockOp SOp

Detailed Description

Slave nodes for locate server.

Definition at line 110 of file Locate.hh.


Constructor & Destructor Documentation

clSubLocate::clSubLocate  ) 
 

Definition at line 420 of file Locate.cc.

References LOCATE_CONTROL_TAG, LOCATE_NORMAL_TAG, LOCATE_PARAM_TAG, MPICCtrl, MPICNormal, MPICParam, and clMPIComm::SetTag().

clSubLocate::~clSubLocate  ) 
 

Definition at line 428 of file Locate.cc.


Member Function Documentation

bool clSubLocate::RecvParams  )  [private]
 

Definition at line 356 of file Locate.cc.

References cpHostName, fAzimuth, clMPIComm::GetSenderTag(), iHostPort, lHeight, LOCATE_HOSTNAME_MAXLEN, LOCATE_PARAM_TAG, lPosX, lPosY, lWidth, MPICParam, clMPIComm::ProbeAny(), clMPIComm::Recv(), and sDirCfg.

Referenced by Main().

bool clSubLocate::Initialize  )  [private]
 

Definition at line 376 of file Locate.cc.

References DirMsg, DirRes, fAzimuth, fpDirRes, fpLevRes, GDT, GLOBAL_HEADER_LEN, iDirMsgSize, clLocateSensor::Initialize(), LevRes, lHeight, LocSens, lPosX, lPosY, lWidth, _stDirCfg::lWindowSize, and sDirCfg.

Referenced by Main().

bool clSubLocate::ConnectDir  )  [private]
 

Definition at line 390 of file Locate.cc.

References clSockClie::Connect(), cpHostName, _stDirCfg::fAlpha, _stDirReq2::fAlpha, _stDirCfg::fIntegrationTime, _stDirReq2::fIntegrationTime, _stDirReq2::fLowFreqLimit, _stDirCfg::fLowFrequency, _stDirCfg::fScalingExp, _stDirReq2::fScalingExp, _stDirCfg::fSoundSpeed, _stDirReq2::fSoundSpeed, GLOBAL_HEADER_LEN, iHostPort, _stDirCfg::iRemoveNoise, _stDirReq2::iRemoveNoise, _stDirCfg::iScaling, _stDirReq2::iScaling, _stDirCfg::lGapLength, _stDirReq2::lGapLength, _stDirCfg::lMeanLength, _stDirReq2::lMeanLength, LOCATE_DIR_PROC, _stDirCfg::lWindowSize, _stDirReq2::lWindowSize, Msg, sDirCfg, clSockOp::SetHandle(), clDirMsg2::SetRequest(), SOp, and clSockOp::WriteN().

Referenced by Main().

int clSubLocate::Main int  ,
char ** 
 

Definition at line 433 of file Locate.cc.

References bDebug, ConnectDir(), DirMsg, _stDirRes2::fFreqResolution, fpDirRes, fpLevRes, clDirMsg2::GetResult(), clLocateSensor::GetResultMatrix(), iDirMsgSize, Initialize(), lHeight, _stDirRes2::lMaxBin, _stDirRes2::lMinBin, LocSens, _stDirRes2::lResultCount, lWidth, MPICCtrl, MPICNormal, Msg, clMPIComm::ProbeNB(), clSockOp::ReadN(), clMPIComm::Recv(), RecvParams(), clMPIComm::Send(), clLocateSensor::SetDirectionValues(), clSockOp::SetRecvBufSize(), and SOp.

Referenced by main().


Member Data Documentation

int clSubLocate::iHostPort [private]
 

Definition at line 112 of file Locate.hh.

Referenced by ConnectDir(), and RecvParams().

int clSubLocate::iDirMsgSize [private]
 

Definition at line 113 of file Locate.hh.

Referenced by Initialize(), and Main().

long clSubLocate::lWidth [private]
 

Definition at line 114 of file Locate.hh.

Referenced by Initialize(), Main(), and RecvParams().

long clSubLocate::lHeight [private]
 

Definition at line 115 of file Locate.hh.

Referenced by Initialize(), Main(), and RecvParams().

long clSubLocate::lPosX [private]
 

Definition at line 116 of file Locate.hh.

Referenced by Initialize(), and RecvParams().

long clSubLocate::lPosY [private]
 

Definition at line 117 of file Locate.hh.

Referenced by Initialize(), and RecvParams().

float clSubLocate::fAzimuth [private]
 

Definition at line 118 of file Locate.hh.

Referenced by Initialize(), and RecvParams().

char clSubLocate::cpHostName[LOCATE_HOSTNAME_MAXLEN] [private]
 

Definition at line 119 of file Locate.hh.

Referenced by ConnectDir(), and RecvParams().

GDT* clSubLocate::fpLevRes [private]
 

Definition at line 120 of file Locate.hh.

Referenced by Initialize(), and Main().

GDT* clSubLocate::fpDirRes [private]
 

Definition at line 121 of file Locate.hh.

Referenced by Initialize(), and Main().

stDirCfg clSubLocate::sDirCfg [private]
 

Definition at line 122 of file Locate.hh.

Referenced by ConnectDir(), Initialize(), and RecvParams().

clAlloc clSubLocate::DirMsg [private]
 

Definition at line 123 of file Locate.hh.

Referenced by Initialize(), and Main().

clAlloc clSubLocate::LevRes [private]
 

Definition at line 124 of file Locate.hh.

Referenced by Initialize().

clAlloc clSubLocate::DirRes [private]
 

Definition at line 125 of file Locate.hh.

Referenced by Initialize().

clLocateSensor clSubLocate::LocSens [private]
 

Definition at line 126 of file Locate.hh.

Referenced by Initialize(), and Main().

clMPIComm clSubLocate::MPICCtrl [private]
 

Definition at line 127 of file Locate.hh.

Referenced by clSubLocate(), and Main().

clMPIComm clSubLocate::MPICParam [private]
 

Definition at line 128 of file Locate.hh.

Referenced by clSubLocate(), and RecvParams().

clMPIComm clSubLocate::MPICNormal [private]
 

Definition at line 129 of file Locate.hh.

Referenced by clSubLocate(), and Main().

clDirMsg2 clSubLocate::Msg [private]
 

Definition at line 130 of file Locate.hh.

Referenced by ConnectDir(), and Main().

clSockOp clSubLocate::SOp [private]
 

Definition at line 131 of file Locate.hh.

Referenced by ConnectDir(), and Main().


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