|
WSF
|
#include <WsfPerceptionProcessor.hpp>


Public Types | |
| enum | CognitiveUpdateType { THREATS , ASSETS , STATUS } |
| Public Types inherited from WsfEvent | |
| enum | EventDisposition { cDELETE , cRESCHEDULE } |
Public Member Functions | |
| WsfPerceptionProcessorUpdateEvent (double aSimTime, size_t aPlatformIndex, WsfPerceptionProcessor *aModelPtr, CognitiveUpdateType aType) | |
| 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. | |
| WsfEvent & | operator= (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) |
| WsfSimulation * | GetSimulation () const |
| void | AddedToEventQueue (WsfSimulation &aSimulation) |
| Called when the event is added to the event queue of the specified simulation. | |
| WsfPerceptionProcessorUpdateEvent::WsfPerceptionProcessorUpdateEvent | ( | double | aSimTime, |
| size_t | aPlatformIndex, | ||
| WsfPerceptionProcessor * | aModelPtr, | ||
| CognitiveUpdateType | aType ) |
References WsfEvent::WsfEvent().
|
overridevirtual |
Execute the specified event.
Implements WsfEvent.
References ASSETS, WsfEvent::cDELETE, WsfEvent::cRESCHEDULE, WsfSimulation::GetPlatformByIndex(), WsfEvent::GetSimulation(), WsfEvent::GetTime(), platformPtr, WsfEvent::SetTime(), and STATUS.