WSF
WsfNamed Class Reference

#include <WsfNamed.hpp>

Inheritance diagram for WsfNamed:

Public Member Functions

 WsfNamed ()
 WsfNamed (WsfStringId aName)
 WsfNamed (const WsfNamed &)=default
WsfNamedoperator= (const WsfNamed &)=default
virtual ~WsfNamed ()=default
const std::string & GetName () const
WsfStringId GetNameId () const
void SetName (WsfStringId aName)

Detailed Description

A base object for objects that have a 'name'.

This object provides the methods for maintain the 'name' of an object. Objects that possess both a 'name' and a 'type' should use WsfObject.

Constructor & Destructor Documentation

◆ WsfNamed() [1/3]

◆ WsfNamed() [2/3]

WsfNamed::WsfNamed ( WsfStringId aName)

Construct with a specified name. Use this constructor to automatically set the name.

Parameters
aNamea std::string with the desired object name.

◆ WsfNamed() [3/3]

WsfNamed::WsfNamed ( const WsfNamed & )
default

References WsfNamed().

◆ ~WsfNamed()

virtual WsfNamed::~WsfNamed ( )
virtualdefault

References GetName().

Member Function Documentation

◆ GetName()

const std::string & WsfNamed::GetName ( ) const

Get the name of the object.

Returns
a std::string containing the name of the object.

Referenced by WsfPassiveSensor::PassiveMode::AttemptToDetect(), WsfPassiveSensor::PassiveMode::CanDetect(), WsfChaffEjector::EjectParcel(), WsfPassiveSensor::PassiveMode::EmitterActiveCallback(), WsfExchange::Transactor::ExchangeQueried(), WsfExchangeProcessor::ExchangeRequestFailed(), WsfChaffWeapon::Fire(), WsfSOSM_Interface::GetSensorType(), WsfChaffEjector::Initialize(), WsfEW_SensorComponent::Initialize(), WsfOTH_RadarSensor::OTH_Beam::Initialize(), WsfPhysicalScanSensorScheduler::Initialize(), WsfRadarSensor::RadarBeam::Initialize(), WsfSAR_Sensor::SAR_Mode::SAR_ErrorModel::Initialize(), WsfSensorMode::Initialize(), WsfSensorMode::InitializeReporting(), WsfPk::Table::LoadTable(), WsfExchange::Transactor::MyFullName(), WsfFusionCenter::PrintFuserState(), wsf::cyber::Protect::ProcessInput(), wsf::cyber::Protect::ProtectedAttack::ProcessInput(), WsfExchangeProcessor::ProcessInput(), WsfMobilityAndFirepowerLethality::ProcessInput(), WsfMobilityAndFirepowerLethality::TargetType::ProcessInput(), WsfPk::Table::ProcessInput(), WsfPk::TableManager::ProcessInput(), WsfPk::TableSet::ProcessInput(), WsfEventPipeInterface::SendModeActive(), WsfMilEventPipe::SendModeActive(), WsfEventPipeInterface::SendPartStatus(), wsf::space::OrientationGeoPoint::SetGeoPoint(), WsfWeaponPlatformExtension::SetWeaponEngagement(), WsfExchange::Transactor::TakeQueuedAction(), WsfEW_SensorComponent::TrackerAllowTracking(), WsfEW_SimpleFT_Effect::UpdateEffects(), WsfDisEmission::UpdateXmtr(), UT_DEFINE_SCRIPT_METHOD(), UT_DEFINE_SCRIPT_METHOD(), UT_DEFINE_SCRIPT_METHOD(), UT_DEFINE_SCRIPT_METHOD(), and ~WsfNamed().

◆ GetNameId()

◆ operator=()

◆ SetName()

void WsfNamed::SetName ( WsfStringId aName)
inline

Set the name of the object.

Parameters
aNamea const reference to a WsfStringId containing the name of the object.

Referenced by WsfExchange::Transactor::LoadInstance(), WsfPk::Table::LoadTable(), wsf::cyber::Protect::ProtectedAttack::ProcessInput(), WsfGeoPoint::ProcessInput(), and WsfModeList::ProcessInput().


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