WSF
WsfWaypointMover::HitPointEvent Class Reference

#include <WsfWaypointMover.hpp>

Inheritance diagram for WsfWaypointMover::HitPointEvent:
Collaboration diagram for WsfWaypointMover::HitPointEvent:

Public Member Functions

 HitPointEvent ()=default
 HitPointEvent (WsfWaypointMover *aMoverPtr)
 ~HitPointEvent () override=default
EventDisposition Execute () override
Public Member Functions inherited from WsfWaypointMover::BaseEvent
 BaseEvent ()
 BaseEvent (WsfWaypointMover *aMoverPtr)
 ~BaseEvent () override
void Disable ()
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 WsfWaypointMover::BaseEvent
WsfWaypointMovermMoverPtr
bool mEnabled

Constructor & Destructor Documentation

◆ HitPointEvent() [1/2]

WsfWaypointMover::HitPointEvent::HitPointEvent ( )
default

◆ HitPointEvent() [2/2]

WsfWaypointMover::HitPointEvent::HitPointEvent ( WsfWaypointMover * aMoverPtr)
inline

◆ ~HitPointEvent()

WsfWaypointMover::HitPointEvent::~HitPointEvent ( )
overridedefault

Member Function Documentation

◆ Execute()

EventDisposition WsfWaypointMover::HitPointEvent::Execute ( )
inlineoverridevirtual

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::GetTime(), WsfWaypointMover::BaseEvent::mEnabled, and WsfWaypointMover::BaseEvent::mMoverPtr.


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