WSF
WsfLOS_ManagerExtension Class Reference

#include <WsfLOS_Manager.hpp>

Inheritance diagram for WsfLOS_ManagerExtension:
Collaboration diagram for WsfLOS_ManagerExtension:

Public Member Functions

 WsfLOS_ManagerExtension ()
void SimulationCreated (WsfSimulation &aSimulation) override
bool ProcessInput (UtInput &aInput) override
Public Member Functions inherited from WsfScenarioExtension
 WsfScenarioExtension ()
 ~WsfScenarioExtension () override
WsfScenarioGetScenario () const
WsfApplicationGetApplication () const
virtual void AddedToScenario ()
virtual void FileLoaded (const std::string &aFileName)
virtual bool Complete ()
virtual bool Complete2 ()
virtual bool AlwaysCreate ()
Public Member Functions inherited from WsfExtension
virtual ~WsfExtension ()=default
const std::string & GetExtensionName () const

Additional Inherited Members

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

Detailed Description

The scenario extension used to call ProcessInput and provide configuration data to the LOSManager when created in SimulationCreated.

Constructor & Destructor Documentation

◆ WsfLOS_ManagerExtension()

WsfLOS_ManagerExtension::WsfLOS_ManagerExtension ( )
inline

Member Function Documentation

◆ ProcessInput()

bool WsfLOS_ManagerExtension::ProcessInput ( UtInput & aInput)
overridevirtual

Process the line_of_sight_manager block.

Parameters
aInput[input] The input stream.
Returns
'true' if the command was recognized (and processed) or 'false' if the command was not one recognized by this class.

Reimplemented from WsfScenarioExtension.

◆ SimulationCreated()

void WsfLOS_ManagerExtension::SimulationCreated ( WsfSimulation & aSimulation)
overridevirtual

Called when a simulation has been created. (Technically this is called upon entry to WsfSimulation::Initialize()). This is typically used when a scenario extension also requires a simulation extension. The method would typically register the simulation extension as follows:

aSimulation.RegisterExtension("my_ext", new MySimulationExtension());
Parameters
aSimulationThe simulation that is being created. See note below!
Note
This is called upon entry to WsfSimulation::Initialize() and nothing can be assumed about the state of the simulation.
See also
WsfSimulationExtension, WsfApplicationExtension::SimulationCreated

Reimplemented from WsfScenarioExtension.

References WsfExtension::GetExtensionName(), and WsfSimulation::RegisterExtension().


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