code::RadarInfo Class Reference

List of all members.

Detailed Description

Provides information about various configured radars and search capability among radar.

Author:
Lakshman
Version:
Id
code_RadarInfo.h,v 1.7 2009/06/02 20:17:40 lakshman Exp


Public Member Functions

 RadarInfo ()
 for STL convenience.
 RadarInfo (const std::string &identifier, const std::string &siteName, const Location &radarLocation)
 Non-US weather radar.
 RadarInfo (const std::string &identifier, const std::string &siteName, const Location &radarLocation, int rpgid)
 constructs info for WSR-88D.
 RadarInfo (const std::string &identifier, const std::string &siteName, const Location &radarLocation, const Angle &magneticOffset, int frequency)
 constructs info for TDWR.
bool isTDWR () const
 is this a Terminal Doppler Weather Radar?
SmartPtr< AnglegetMagneticOffset () const
 angle will be valid if this is a TDWR
const std::string & getUniqueName () const
const std::string & getSiteName () const
const LocationgetLocation () const
int getFrequency () const
int getRPGID () const

Static Public Member Functions

static SmartPtr< RadarInfogetRadarInfo (int rpgid)
static SmartPtr< RadarInfogetRadarInfo (const std::string &name)
static size_t getRadarsInDomain (Angle startlat, Angle startlon, Angle endlat, Angle endlon, std::vector< SmartPtr< RadarInfo > > *result, Angle fudge=Angle())
 Finds all radars within the given domain.


Constructor & Destructor Documentation

code::RadarInfo::RadarInfo (  )  [inline]

for STL convenience.

code::RadarInfo::RadarInfo ( const std::string &  identifier,
const std::string &  siteName,
const Location radarLocation 
) [inline]

Non-US weather radar.

code::RadarInfo::RadarInfo ( const std::string &  identifier,
const std::string &  siteName,
const Location radarLocation,
int  rpgid 
) [inline]

constructs info for WSR-88D.

code::RadarInfo::RadarInfo ( const std::string &  identifier,
const std::string &  siteName,
const Location radarLocation,
const Angle magneticOffset,
int  frequency 
) [inline]

constructs info for TDWR.


Member Function Documentation

int code::RadarInfo::getFrequency (  )  const [inline]

const Location& code::RadarInfo::getLocation (  )  const [inline]

SmartPtr<Angle> code::RadarInfo::getMagneticOffset (  )  const [inline]

angle will be valid if this is a TDWR

static SmartPtr<RadarInfo> code::RadarInfo::getRadarInfo ( const std::string &  name  )  [inline, static]

Returns:
0 if name is not found.

static SmartPtr<RadarInfo> code::RadarInfo::getRadarInfo ( int  rpgid  )  [inline, static]

Returns:
0 if rpgid is not found.

static size_t code::RadarInfo::getRadarsInDomain ( Angle  startlat,
Angle  startlon,
Angle  endlat,
Angle  endlon,
std::vector< SmartPtr< RadarInfo > > *  result,
Angle  fudge = Angle() 
) [static]

Finds all radars within the given domain.

Returns:
the index of the "most central" radar within this list. the return value makes no sense if the result list is empty i.e. if there are no radars within this domain.

int code::RadarInfo::getRPGID (  )  const [inline]

Returns:
-ve if no RPGID is known for this radar.

const std::string& code::RadarInfo::getSiteName (  )  const [inline]

const std::string& code::RadarInfo::getUniqueName (  )  const [inline]

bool code::RadarInfo::isTDWR (  )  const [inline]

is this a Terminal Doppler Weather Radar?


Generated on Fri May 4 13:40:13 2012 for WDSS-IIw2 by  doxygen 1.4.7