|
WXP C++ Library Version 6.74.9
|
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 () |
This class defines standard lightning parameters.
| LightData::LightData | ( | ) |
Constructor
References init().
|
inline |
Gets the date of strike
Referenced by WXP::LightPlot::draw().
|
inline |
Gets the date of strike
References WXP::Date::get().
|
inline |
Gets the latitude of strike
Referenced by WXP::LightPlot::draw().
|
inline |
Gets the longitude of strike
Referenced by WXP::LightPlot::draw().
|
inline |
|
inline |
Gets the multiplicity of strike
Referenced by WXP::LightPlot::draw().
|
inline |
Gets the seconds of strike
References WXP::Date::getSeconds().
Referenced by WXP::LightPlot::draw().
|
inline |
Gets the signal of strike
Referenced by WXP::LightPlot::draw().
| int LightData::init | ( | ) |
| int LightData::print | ( | ) |
Prints the object values
References WXP::Date::getDay(), WXP::Date::getHour(), WXP::Date::getMinute(), WXP::Date::getMonth(), WXP::Date::getSecond(), and WXP::Date::getYear().
Referenced by WXP::LightPlot::draw().
| int LightData::setDate | ( | DateVal & | dv | ) |
| int LightData::setDate | ( | int | secs | ) |
Sets the strike date
| secs | The date |
References WXP::Date::set().
Referenced by WXP::LightFile::read().
| int LightData::setFsec | ( | float | secs | ) |
Sets the strike seconds (fractional)
| secs | The seconds |
References WXP::Date::setFractionalSecond().
Referenced by WXP::LightFile::read().
| int LightData::setLat | ( | float | rlat | ) |
| int LightData::setLoc | ( | float | rlat, |
| float | rlon | ||
| ) |
Sets the strike location
| rlat | The latitude |
| rlon | The longitude |
| int LightData::setLon | ( | float | rlon | ) |
| int LightData::setMulti | ( | int | mul | ) |
| int LightData::setSignal | ( | float | sig | ) |