WSF
WsfTrackProcessor_PurgeTrackHistoryEvent Class Reference

The same idea is used to purge track history. More...

#include <WsfTrackProcessor.hpp>

Inheritance diagram for WsfTrackProcessor_PurgeTrackHistoryEvent:
Collaboration diagram for WsfTrackProcessor_PurgeTrackHistoryEvent:

Public Member Functions

 WsfTrackProcessor_PurgeTrackHistoryEvent ()=default
 WsfTrackProcessor_PurgeTrackHistoryEvent (double aSimTime, WsfTrackProcessor *aProcessorPtr, double aPurgeInterval)
EventDisposition Execute () override
Public Member Functions inherited from WsfTrackProcessor_PurgeTracksEvent
 WsfTrackProcessor_PurgeTracksEvent ()=default
 WsfTrackProcessor_PurgeTracksEvent (double aSimTime, WsfTrackProcessor *aProcessorPtr, double aPurgeInterval)
EventDisposition Execute () override
Public Member Functions inherited from WsfEvent
 WsfEvent ()=default
 WsfEvent (double aSimTime, int aPriority=0)
 WsfEvent (const WsfEvent &aSrc)=delete
 Copy constructor and copy assignment deleted to prevent copying.
WsfEventoperator= (const WsfEvent &aRhs)=delete
virtual ~WsfEvent ()=default
double GetTime () const
int GetPriority () const
bool ShouldExecute () const
void SetTime (double aSimTime)
void SetPriority (int aPriority)
void SetShouldExecute (bool aExecute)
WsfSimulationGetSimulation () const
void AddedToEventQueue (WsfSimulation &aSimulation)
 Called when the event is added to the event queue of the specified simulation.

Additional Inherited Members

Public Types inherited from WsfEvent
enum  EventDisposition { cDELETE , cRESCHEDULE }
Protected Attributes inherited from WsfTrackProcessor_PurgeTracksEvent
double mPurgeInterval
WsfTrackProcessormProcessorPtr
size_t mPlatformIndex

Detailed Description

The same idea is used to purge track history.

Constructor & Destructor Documentation

◆ WsfTrackProcessor_PurgeTrackHistoryEvent() [1/2]

WsfTrackProcessor_PurgeTrackHistoryEvent::WsfTrackProcessor_PurgeTrackHistoryEvent ( )
default

◆ WsfTrackProcessor_PurgeTrackHistoryEvent() [2/2]

WsfTrackProcessor_PurgeTrackHistoryEvent::WsfTrackProcessor_PurgeTrackHistoryEvent ( double aSimTime,
WsfTrackProcessor * aProcessorPtr,
double aPurgeInterval )

Member Function Documentation

◆ Execute()

WsfEvent::EventDisposition WsfTrackProcessor_PurgeTrackHistoryEvent::Execute ( )
overridevirtual

Execute the specified event.

Returns
The disposition of the event. This indicates to the event manager what should be done with the event. If cRESCHEDULE then Execute should have called SetTime to set the time for which the event manager should reschedule the event.

Implements WsfEvent.

References WsfEvent::cDELETE, WsfEvent::cRESCHEDULE, WsfEvent::GetSimulation(), WsfEvent::GetTime(), WsfTrackProcessor_PurgeTracksEvent::mPlatformIndex, WsfTrackProcessor_PurgeTracksEvent::mProcessorPtr, WsfTrackProcessor_PurgeTracksEvent::mPurgeInterval, and WsfEvent::SetTime().


The documentation for this class was generated from the following files:
Copyrights Multiple, All Rights Reserved