WSF
WsfEventPipeInterface Class Reference

#include <WsfEventPipeInterface.hpp>

Inheritance diagram for WsfEventPipeInterface:
Collaboration diagram for WsfEventPipeInterface:

Public Member Functions

 WsfEventPipeInterface (WsfEventPipeExtension &aExtension, const WsfEventPipeInput &aInput)
 ~WsfEventPipeInterface () override
 WsfEventPipeInterface (const WsfEventPipeInterface &aPipeInterface)=delete
WsfEventPipeInterfaceoperator= (const WsfEventPipeInterface &aPipeInterface)=delete
void AddedToSimulation () override
int GetEventId (const std::string &aEventName) const
const std::string & GetOutputFileName () const
void SendImmediate (double aSimTime, bool aExternal, std::unique_ptr< WsfEventPipe::MsgBase > aMessagePtr)
void SendDependent (double aSimTime, const WsfPlatform &aPlatform, std::unique_ptr< WsfEventPipe::MsgBase > aMessagePtr)
void SendPartStatus (double aSimTime, WsfPlatformPart *aPartPtr, int aType)
void SendModeActive (double aSimTime, WsfSensor *aSensorPtr, WsfSensorMode *aModePtr, bool aActive)
void SendVisualPartDefinition (double aSimTime, WsfVisualPart *aPartPtr, int aType)
const WsfEventPipeOptionsGetCombinedOptions () const
void AddLogger (WsfEventPipeLogger *aLoggerPtr)
void RemoveLogger (WsfEventPipeLogger *aLoggerPtr)
void UpdateArticulation (double aSimTime, WsfArticulatedPart *aPartPtr, int aPartType, double aAdditionalAz=0.0, double aAdditionalEl=0.0)
void Bookmark (double aSimTime, const std::string &aMsgType, const std::string &aMsgText)
WSF_DEPRECATED void Record (double aSimTime, WsfPlatform *aPlatform, const std::string &aKey, double aValue)
void RecordDouble (const WsfPlatform &aPlatform, const std::string &aKey, double aValue)
void RecordInt (const WsfPlatform &aPlatform, const std::string &aKey, int aValue)
void RecordBool (const WsfPlatform &aPlatform, const std::string &aKey, bool aValue)
void RecordString (const WsfPlatform &aPlatform, const std::string &aKey, const std::string &aValue)
double HandleScheduledEntityStateRequest (double aTime, size_t aPlatformId)
void UpdatePartArticulation (double aSimTime, size_t aPlatformId, WsfStringId &aPartNameId)
Public Member Functions inherited from WsfSimulationExtension
 WsfSimulationExtension ()
 ~WsfSimulationExtension () override=default
WsfSimulationGetSimulation () const
const WsfScenarioGetScenario () const
virtual bool Initialize ()
virtual bool PrepareExtension ()
virtual bool PlatformsInitialized ()
virtual void PendingStart ()
virtual void Start ()
virtual void Complete (double aSimTime)
Public Member Functions inherited from WsfExtension
virtual ~WsfExtension ()=default
const std::string & GetExtensionName () const

Static Public Member Functions

static WsfEventPipeInterfaceFind (const WsfSimulation &aSimulation)
static std::unique_ptr< UtScriptClass > CreateScriptClass (const std::string &aClassName, UtScriptTypes *aScriptTypesPtr)
static void Pack (WsfEventPipe::Track_Id &aData, const WsfTrackId &aId)
static void Pack (WsfEventPipe::Covariance &aData, const UtCovariance &aCovariance)
static void PackTrack (WsfEventPipe::Track &aTrackData, const WsfTrack &aTrack)
static void Pack (WsfEventPipe::EM_Interaction_RelativeData &aData, const WsfEM_Interaction::RelativeData &aRelative)
static void Pack (WsfEventPipe::EM_Interaction_BeamData &aData, const WsfEM_Interaction::BeamData &aBeam)
static void Pack (WsfEventPipe::EM_Interaction &aData, const WsfEM_Interaction &aInteraction)
static unsigned int Platform (const WsfPlatform &aPlatform)
static unsigned int Platform (size_t aPlatformIndex)
static void __private_SetSim (WsfSimulationExtension &aExtension, WsfSimulation *aSimPtr)

Additional Inherited Members

Protected Member Functions inherited from WsfExtension
void InitializeExtensionName (const std::string &aName)

Constructor & Destructor Documentation

◆ WsfEventPipeInterface() [1/2]

WsfEventPipeInterface::WsfEventPipeInterface ( WsfEventPipeExtension & aExtension,
const WsfEventPipeInput & aInput )

References for().

Referenced by Find(), operator=(), and WsfEventPipeInterface().

◆ ~WsfEventPipeInterface()

WsfEventPipeInterface::~WsfEventPipeInterface ( )
override

◆ WsfEventPipeInterface() [2/2]

WsfEventPipeInterface::WsfEventPipeInterface ( const WsfEventPipeInterface & aPipeInterface)
delete

Member Function Documentation

◆ AddedToSimulation()

◆ AddLogger()

◆ Bookmark()

void WsfEventPipeInterface::Bookmark ( double aSimTime,
const std::string & aMsgType,
const std::string & aMsgText )

◆ CreateScriptClass()

std::unique_ptr< UtScriptClass > WsfEventPipeInterface::CreateScriptClass ( const std::string & aClassName,
UtScriptTypes * aScriptTypesPtr )
static

◆ Find()

◆ GetCombinedOptions()

const WsfEventPipeOptions & WsfEventPipeInterface::GetCombinedOptions ( ) const
inline

◆ GetEventId()

◆ GetOutputFileName()

const std::string & WsfEventPipeInterface::GetOutputFileName ( ) const

Referenced by operator=().

◆ HandleScheduledEntityStateRequest()

double WsfEventPipeInterface::HandleScheduledEntityStateRequest ( double aTime,
size_t aPlatformId )
Parameters
aTimeis the current time
aPlatformIdis the platform of interest if the entity no longer exists we delete the event if an update occurred within the interval, no message is sent and the event is rescheduled to meet the interval if an update hasn't occurred, a message is sent and the event is rescheduled to meet the interval
Returns
0.0 if the event should be deleted, and the time of the next event otherwise

References WsfSimulation::GetPlatformByIndex(), WsfSimulationExtension::GetSimulation(), and Platform().

◆ operator=()

◆ Pack() [1/5]

void WsfEventPipeInterface::Pack ( WsfEventPipe::Covariance & aData,
const UtCovariance & aCovariance )
static

◆ Pack() [2/5]

void WsfEventPipeInterface::Pack ( WsfEventPipe::EM_Interaction & aData,
const WsfEM_Interaction & aInteraction )
static

References WsfEM_Interaction::cRCVR_ALTITUDE_LIMITS, WsfEM_Interaction::cRCVR_ANGLE_LIMITS, WsfEM_Interaction::cRCVR_HORIZON_MASKING, WsfEM_Interaction::cRCVR_RANGE_LIMITS, WsfEM_Interaction::cRCVR_TERRAIN_MASKING, WsfEM_Interaction::cSIGNAL_LEVEL, WsfEM_Interaction::cXMTR_ALTITUDE_LIMITS, WsfEM_Interaction::cXMTR_ANGLE_LIMITS, WsfEM_Interaction::cXMTR_HORIZON_MASKING, WsfEM_Interaction::cXMTR_RANGE_LIMITS, WsfEM_Interaction::cXMTR_TERRAIN_MASKING, WsfEM_Interaction::GetTarget(), WsfEM_Interaction::GetTransmitter(), WsfEM_Interaction::mAbsorptionFactor, WsfEM_Interaction::mCheckedStatus, WsfEM_Interaction::mClutterPower, WsfEM_Interaction::mDetectionThreshold, WsfEM_Interaction::mFailedStatus, WsfEM_Interaction::mInfraredSig, WsfEM_Interaction::mInfraredSigAz, WsfEM_Interaction::mInfraredSigEl, WsfEM_Interaction::mInterferencePower, WsfEM_Interaction::LocationData::mIsValid, WsfEM_Interaction::LocationData::mLocWCS, WsfEM_Interaction::mMaskingFactor, WsfEM_Interaction::mOpticalReflectivity, WsfEM_Interaction::mOpticalSig, WsfEM_Interaction::mOpticalSigAz, WsfEM_Interaction::mOpticalSigEl, WsfEM_Interaction::mPixelCount, WsfEM_Interaction::mPowerDensityAtTarget, WsfEM_Interaction::mPropagationFactor, WsfEM_Interaction::mRadarSig, WsfEM_Interaction::mRadarSigAz, WsfEM_Interaction::mRadarSigEl, WsfEM_Interaction::mRcvdPower, WsfEM_Interaction::mRcvrBeam, WsfEM_Interaction::mRcvrLoc, WsfEM_Interaction::mRcvrNoisePower, WsfEM_Interaction::mRcvrToTgt, WsfEM_Interaction::mSignalToNoise, WsfEM_Interaction::mTgtLoc, WsfEM_Interaction::mTgtToRcvr, WsfEM_Interaction::mTgtToXmtr, WsfEM_Interaction::mXmtdPower, WsfEM_Interaction::mXmtrBeam, WsfEM_Interaction::mXmtrLoc, WsfEM_Interaction::mXmtrToTgt, WsfEM_Interaction::mZoneAttenuationValue, and Pack().

◆ Pack() [3/5]

void WsfEventPipeInterface::Pack ( WsfEventPipe::EM_Interaction_BeamData & aData,
const WsfEM_Interaction::BeamData & aBeam )
static

◆ Pack() [4/5]

void WsfEventPipeInterface::Pack ( WsfEventPipe::EM_Interaction_RelativeData & aData,
const WsfEM_Interaction::RelativeData & aRelative )
static

◆ Pack() [5/5]

void WsfEventPipeInterface::Pack ( WsfEventPipe::Track_Id & aData,
const WsfTrackId & aId )
static

◆ PackTrack()

◆ Platform() [1/2]

◆ Platform() [2/2]

unsigned int WsfEventPipeInterface::Platform ( size_t aPlatformIndex)
static

◆ Record()

void WsfEventPipeInterface::Record ( double aSimTime,
WsfPlatform * aPlatform,
const std::string & aKey,
double aValue )

References RecordDouble().

◆ RecordBool()

void WsfEventPipeInterface::RecordBool ( const WsfPlatform & aPlatform,
const std::string & aKey,
bool aValue )

◆ RecordDouble()

void WsfEventPipeInterface::RecordDouble ( const WsfPlatform & aPlatform,
const std::string & aKey,
double aValue )

◆ RecordInt()

void WsfEventPipeInterface::RecordInt ( const WsfPlatform & aPlatform,
const std::string & aKey,
int aValue )

◆ RecordString()

void WsfEventPipeInterface::RecordString ( const WsfPlatform & aPlatform,
const std::string & aKey,
const std::string & aValue )

◆ RemoveLogger()

void WsfEventPipeInterface::RemoveLogger ( WsfEventPipeLogger * aLoggerPtr)

◆ SendDependent()

void WsfEventPipeInterface::SendDependent ( double aSimTime,
const WsfPlatform & aPlatform,
std::unique_ptr< WsfEventPipe::MsgBase > aMessagePtr )

◆ SendImmediate()

void WsfEventPipeInterface::SendImmediate ( double aSimTime,
bool aExternal,
std::unique_ptr< WsfEventPipe::MsgBase > aMessagePtr )

Referenced by Bookmark(), operator=(), and SendDependent().

◆ SendModeActive()

◆ SendPartStatus()

◆ SendVisualPartDefinition()

void WsfEventPipeInterface::SendVisualPartDefinition ( double aSimTime,
WsfVisualPart * aPartPtr,
int aType )

◆ UpdateArticulation()

void WsfEventPipeInterface::UpdateArticulation ( double aSimTime,
WsfArticulatedPart * aPartPtr,
int aPartType,
double aAdditionalAz = 0.0,
double aAdditionalEl = 0.0 )

◆ UpdatePartArticulation()

void WsfEventPipeInterface::UpdatePartArticulation ( double aSimTime,
size_t aPlatformId,
WsfStringId & aPartNameId )

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