WXP C++ Library Version 6.74.6
Loading...
Searching...
No Matches
Public Member Functions | List of all members
WXP::LightData Class Reference

This class defines standard lightning parameters. More...

#include "../include/LightData.h"

Public Member Functions

 LightData ()
 
int init ()
 
int setDate (int secs)
 
int setDate (DateVal &dv)
 
int setFsec (float secs)
 
Date getDate ()
 
DateVal getDateval ()
 
int getSeconds ()
 
int getMinute ()
 
int setLat (float rlat)
 
int setLon (float rlon)
 
int setLoc (float rlat, float rlon)
 
float getLat ()
 
float getLon ()
 
int setSignal (float sig)
 
float getSignal ()
 
int setMulti (int mul)
 
int getMulti ()
 
int print ()
 

Detailed Description

This class defines standard lightning parameters.

Author
Dan Vietor

Constructor & Destructor Documentation

◆ LightData()

LightData::LightData ( )

Constructor

References init().

Member Function Documentation

◆ getDate()

Date WXP::LightData::getDate ( )
inline

Gets the date of strike

Referenced by WXP::LightPlot::draw().

◆ getDateval()

DateVal WXP::LightData::getDateval ( )
inline

Gets the date of strike

References WXP::Date::get().

◆ getLat()

float WXP::LightData::getLat ( )
inline

Gets the latitude of strike

Referenced by WXP::LightPlot::draw().

◆ getLon()

float WXP::LightData::getLon ( )
inline

Gets the longitude of strike

Referenced by WXP::LightPlot::draw().

◆ getMinute()

int WXP::LightData::getMinute ( )
inline

Gets the minute of strike

References WXP::Date::getMinute().

Referenced by WXP::LightPlot::draw().

◆ getMulti()

int WXP::LightData::getMulti ( )
inline

Gets the multiplicity of strike

Referenced by WXP::LightPlot::draw().

◆ getSeconds()

int WXP::LightData::getSeconds ( )
inline

Gets the seconds of strike

References WXP::Date::getSeconds().

Referenced by WXP::LightPlot::draw().

◆ getSignal()

float WXP::LightData::getSignal ( )
inline

Gets the signal of strike

Referenced by WXP::LightPlot::draw().

◆ init()

int LightData::init ( )

Initializes the object

References WXP::Const::MISS.

Referenced by LightData().

◆ print()

int LightData::print ( )

◆ setDate() [1/2]

int LightData::setDate ( DateVal dv)

Sets the strike date

Parameters
dvThe date

References WXP::Date::set().

◆ setDate() [2/2]

int LightData::setDate ( int  secs)

Sets the strike date

Parameters
secsThe date

References WXP::Date::set().

Referenced by WXP::LightFile::read().

◆ setFsec()

int LightData::setFsec ( float  secs)

Sets the strike seconds (fractional)

Parameters
secsThe seconds

References WXP::Date::setFractionalSecond().

Referenced by WXP::LightFile::read().

◆ setLat()

int LightData::setLat ( float  rlat)

Sets the strike latitude

Parameters
rlatThe latitude

Referenced by WXP::LightFile::read().

◆ setLoc()

int LightData::setLoc ( float  rlat,
float  rlon 
)

Sets the strike location

Parameters
rlatThe latitude
rlonThe longitude

◆ setLon()

int LightData::setLon ( float  rlon)

Sets the strike longitude

Parameters
rlonThe longitude

Referenced by WXP::LightFile::read().

◆ setMulti()

int LightData::setMulti ( int  mul)

Sets the strike multiplicity

Parameters
mulThe multiplicity

Referenced by WXP::LightFile::read().

◆ setSignal()

int LightData::setSignal ( float  sig)

Sets the strike signal

Parameters
sigThe signal strength

Referenced by WXP::LightFile::read().


The documentation for this class was generated from the following files: