|
WSF
|
#include <WsfNamed.hpp>

Public Member Functions | |
| WsfNamed () | |
| WsfNamed (WsfStringId aName) | |
| WsfNamed (const WsfNamed &)=default | |
| WsfNamed & | operator= (const WsfNamed &)=default |
| virtual | ~WsfNamed ()=default |
| const std::string & | GetName () const |
| WsfStringId | GetNameId () const |
| void | SetName (WsfStringId aName) |
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.
| WsfNamed::WsfNamed | ( | ) |
Default constructor. Using this constructor, the user must later call either the "SetName" methods.
Referenced by WsfExchange::Container::Container(), WsfExchange::Container::Container(), WsfMobilityAndFirepowerLethality::MFK_Table::MFK_Table(), operator=(), WsfPk::Table::Table(), WsfMobilityAndFirepowerLethality::TargetType::TargetType(), WsfExchange::Tender::Tender(), WsfExchange::Tender::Tender(), WsfMobilityAndFirepowerLethality::Vulnerability::Vulnerability(), WsfMode::WsfMode(), WsfNamed(), WsfSimpleComponentT< WsfComponentT< PARENT_TYPE > >::WsfSimpleComponentT(), WsfSimpleComponentT< WsfComponentT< PARENT_TYPE > >::WsfSimpleComponentT(), WsfSimpleComponentT< WsfComponentT< PARENT_TYPE > >::WsfSimpleComponentT(), WsfSimpleComponentT< WsfComponentT< PARENT_TYPE > >::WsfSimpleComponentT(), WsfWeaponPlatformExtension::WsfWeaponPlatformExtension(), and WsfWeaponPlatformExtension::WsfWeaponPlatformExtension().
| WsfNamed::WsfNamed | ( | WsfStringId | aName | ) |
Construct with a specified name. Use this constructor to automatically set the name.
| aName | a std::string with the desired object name. |
|
default |
References WsfNamed().
|
virtualdefault |
References GetName().
| const std::string & WsfNamed::GetName | ( | ) | const |
Get 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().
|
inline |
Get the string ID of the name of the object.
Referenced by WsfMobilityAndFirepowerLethality::Add(), WsfMobilityAndFirepowerLethality::Add(), WsfPk::TableSet::Add(), WsfExchangeProcessor::AddContainer(), WsfExchange::Tender::ConstrainTo(), WsfDefaultSensorScheduler::DeselectMode(), WsfXIO_PlatformInfoService::FillPartState(), WsfXIO_WeaponComponent::FillPartState(), WsfMobilityAndFirepowerLethality::Vulnerability::GetCM_TypeId(), WsfSimpleComponentT< WsfComponentT< PARENT_TYPE > >::GetComponentName(), WsfWeaponPlatformExtension::GetComponentName(), WsfMobilityAndFirepowerLethality::TargetType::GetTargetTypeId(), WsfSensorMode::InitializeTrack(), WsfExchange::Tender::IsCompatibleWith(), WsfExchange::Transactor::IsInConflictWith(), WsfXIO_ObjectInfoLoad::Load_Platform(), WsfCommandChain::PlatformAdded(), WsfCommandChain::PlatformDeleted(), WsfSensorMode::ProcessInput(), WsfExchange::Transactor::RequestFrom(), WsfExchange::Transactor::ReserveTender(), WsfDefaultSensorScheduler::SelectMode(), WsfXIO_PlatformInfoService::SendCommandChain(), WsfTaskManager::SendTaskMessage(), WsfEW_TrackEffect::SensorModeDeactivated(), WsfEW_TrackEffect::SensorTrackDropped(), WsfCommandChain::SetCommander(), WsfSensorMode::UpdateTrack(), and UT_DEFINE_SCRIPT_METHOD().
References WsfNamed().
Referenced by WsfMoverMode::operator=(), WsfSensorMode::operator=(), and WsfSimpleComponentT< WsfComponentT< PARENT_TYPE > >::operator=().
|
inline |
Set the name of the object.
| aName | a 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().