SilverLining::LightningListener(3)

NAME
SilverLining::LightningListener -

Extend this class in order to receive notifications of lightning strike events from cumulonimbus cloud layers.

SYNOPSIS

#include <LightningListener.h>

  Public Member Functions
virtual ~LightningListener ()
Virtual destructor.
virtual void SILVERLINING_API LightningStartedEvent (double lightningPosX, double lightningPosY, double lightningPosZ)=0
This pure virtual method will be called any time a lightning strike begins within a CloudLayer.

Detailed Description

Extend this class in order to receive notifications of lightning strike events from cumulonimbus cloud layers.

Constructor & Destructor Documentation

  virtual SilverLining::LightningListener::~LightningListener () [inline, virtual]

Virtual destructor.

Member Function Documentation

  virtual void SILVERLINING_API SilverLining::LightningListener::LightningStartedEvent (double lightningPosX, double lightningPosY, double lightningPosZ) [pure virtual]

This pure virtual method will be called any time a lightning strike begins within a CloudLayer. You must pass your LightningListener object's pointer into CloudLayer::AddLightningListener() in order to receive lightning events from a given CloudLayer. Presently, only CumulonimbusCloudLayer objects will fire these events. The position returned is the location of the lightning strike's origin, in world units.

Author

Generated automatically by Doxygen for SilverLining from the source code.