|
WSF
|
#include <SystemStatusPart.hpp>


Classes | |
| struct | Config |
Public Member Functions | |
| SystemStatusPart (WsfScenario &aScenario) | |
| SystemStatusPart (const SystemStatusPart &aSrc) | |
| ~SystemStatusPart () override | |
| ComputerPart * | Clone () const override |
| bool | Initialize (double aSimTime, ComputerProcessor &aComputer) override |
| void | HandleReceive (double aSimTime, const Messages::InitialBase &aMessage) override |
| Handle an incoming message. | |
| void | HandleSend (double aSimTime) override |
| This method is called when the a slot is open. | |
| bool | ProcessInput (UtInput &aInput) override |
| Public Member Functions inherited from WsfL16::ComputerPart | |
| ComputerPart (WsfScenario &aScenario, const std::string &aClassName="WsfProcessor") | |
| ComputerPart (const ComputerPart &aSrc) | |
| ~ComputerPart () override | |
| void | SendJMessage (double aSimTime, Messages::InitialBase *aMessage) |
| virtual bool | IsNetworkEnabled () |
| void | SetDebug (bool aDebugOn) |
| bool | Debug () |
| void | SetPlatform (WsfPlatform *aPlatformPtr) |
| WsfCommandChain * | GetCommandChain () const |
| ComputerProcessor * | GetComputer () |
| WsfPlatform * | GetPlatform () |
| WsfSimulation * | GetSimulation () |
| const SlotParameters & | GetSlotParameters () const |
| int | DebugMore () |
| void | SetSendInterval (double aValue) |
| Public Member Functions inherited from WsfObject | |
| WsfObject () | |
| This is the constructor for the WsfObject class. | |
| ~WsfObject () override | |
| This is the destructor for the WsfObject class. | |
| const char * | GetScriptClassName () const override |
| const std::string & | GetType () const |
| WsfStringId | GetTypeId () const |
| Get the string ID of the 'type' of the object. | |
| void | SetType (WsfStringId aType) |
| const std::string & | GetBaseType () const |
| WsfStringId | GetBaseTypeId () const |
| const TypeList & | GetTypeList () const |
| bool | IsA_TypeOf (WsfStringId aType) const |
| WsfObject & | operator= (const WsfObject &aRhs) |
| Assignment operator. | |
| template<typename T> | |
| void | Serialize (T &aBuff) |
| For XIO (de)serialization. | |
| const std::string & | GetName () const |
| WsfStringId | GetNameId () const |
| void | SetName (WsfStringId aName) |
Protected Types | |
| enum | Category { cAIR , cSURFACE , cSUBSURFACE , cLAND , cUNSET } |
| Protected Types inherited from WsfL16::ComputerPart | |
| typedef std::map< int, ScriptData > | ScriptMap |
Protected Member Functions | |
| bool | CheckWeapon (WsfStringId aWeaponId) |
| int | WeaponQuantity (WsfStringId aWeaponId) |
| void | SendPPLI (double aSimTime) |
| void | SendSystemStatus (double aSimTime) |
| void | SendAirSystemStatus (double aSimTime) |
| void | SendLandPointSystemStatus (double aSimTime) |
| void | SendSurfaceSystemStatus (double aSimTime) |
| Protected Member Functions inherited from WsfL16::ComputerPart | |
| double | ProcessSendInterval (UtInput &aInput) const |
| double | GetSendInterval () |
| WsfObject (const WsfObject &aSrc) | |
| Copy constructor (for Clone()). | |
Protected Attributes | |
| Config | mConfig |
| int | mCategory |
| InputEnumeration | mCategoryInput |
| Protected Attributes inherited from WsfL16::ComputerPart | |
| IntervalUpdater | mSendInterval |
| int | mDebugMore |
| UtCallbackHolder | mCallbacks |
| SlotParameters | mSlotParameters |
| WsfScriptContext * | mContextPtr |
| ScriptMap | mSendScripts |
Additional Inherited Members | |
| Public Types inherited from WsfObject | |
| typedef std::vector< WsfStringId > | TypeList |
| The list of types returned by GetTypeList. | |
|
protected |
| WsfL16::SystemStatusPart::SystemStatusPart | ( | WsfScenario & | aScenario | ) |
References cAIR, cLAND, WsfL16::ComputerPart::ComputerPart(), cSUBSURFACE, cSURFACE, cUNSET, mCategory, mCategoryInput, and WsfL16::ComputerPart::mSendInterval.
Referenced by Clone(), and SystemStatusPart().
| WsfL16::SystemStatusPart::SystemStatusPart | ( | const SystemStatusPart & | aSrc | ) |
References WsfL16::ComputerPart::ComputerPart(), mCategory, mCategoryInput, mConfig, and SystemStatusPart().
|
override |
|
protected |
References WsfComponentList::GetComponent(), WsfObject::GetName(), and WsfL16::ComputerPart::GetPlatform().
Referenced by Initialize().
|
overridevirtual |
Return a copy of this object. Must be implemented by all derived types. If cloning is impossible, a WsfUncloneableException should be thrown.
Implements WsfL16::ComputerPart.
References WsfL16::ComputerPart::ComputerPart(), and SystemStatusPart().
|
overridevirtual |
Handle an incoming message.
Implements WsfL16::ComputerPart.
|
overridevirtual |
This method is called when the a slot is open.
Reimplemented from WsfL16::ComputerPart.
References SendSystemStatus().
|
overridevirtual |
Reimplemented from WsfL16::ComputerPart.
References cAIR, CheckWeapon(), cLAND, cSUBSURFACE, cSURFACE, cUNSET, WsfPlatform::GetMover(), WsfL16::ComputerPart::GetPlatform(), WsfPlatform::GetSpatialDomain(), WsfL16::ComputerPart::Initialize(), mCategory, mConfig, ok, WSF_SPATIAL_DOMAIN_LAND, WSF_SPATIAL_DOMAIN_SUBSURFACE, and WSF_SPATIAL_DOMAIN_SURFACE.
|
overridevirtual |
Process input from a generic source.
Examine the current input command. If it is NOT one of the commands recognized by this class then it simply returns 'false'. If it is one of the commands recognized by this class then it processes the command and returns 'true'.
| aInput | a reference to a UtInput object. |
| UtInput::ExceptionBase | (or an object derived from it) if the command was recognized but contains some sort of error. |
Reimplemented from WsfL16::ComputerPart.
References mConfig, and WsfL16::ComputerPart::ProcessInput().
|
protected |
References c1, WsfL16::Messages::OperationalCapabilityField::cABLE_TO_PERFORM_MISSION, WsfL16::Messages::EquipmentOperationalField::cOFF, WsfL16::ComputerProcessor::Config(), WsfComponentList::GetComponent(), WsfL16::ComputerPart::GetComputer(), WsfL16::ComputerPart::GetPlatform(), mConfig, WsfL16::ComputerProcessor::Configuration::mSpecificTypeID, WsfL16::ComputerPart::SendJMessage(), and WeaponQuantity().
Referenced by SendSystemStatus().
|
protected |
References WsfComponentList::RoleIterator< T >::AtEnd(), c1, WsfL16::Messages::OperationalCapabilityField::cABLE_TO_PERFORM_MISSION, WsfL16::Messages::SiteTypeField::cBM_DEFENSE_SITE, WsfL16::Messages::CommImpairmentField::cNO_STATEMENT, WsfL16::Messages::LinkStatusField::cNO_STATEMENT, WsfL16::Messages::OperationalImpairmentField::cNO_STATEMENT, WsfL16::Messages::SAM_ModeStateField::cNO_STATEMENT, WsfL16::Messages::SystemStatusField::cNO_STATEMENT, WsfL16::Messages::TimeFunctionField::cNO_STATEMENT, WsfL16::Messages::RadarSystemStatusField::cSYSTEM_OFF, WsfL16::Messages::RadarSystemStatusField::cSYSTEM_OPERATIONAL, WsfComponentList::GetComponentCount(), WsfL16::ComputerPart::GetComputer(), WsfL16::ComputerPart::GetPlatform(), WsfArticulatedPart::IsCued(), and WsfL16::ComputerPart::SendJMessage().
Referenced by SendSystemStatus().
|
protected |
|
protected |
|
protected |
References cAIR, cLAND, cSURFACE, mCategory, SendAirSystemStatus(), SendLandPointSystemStatus(), and SendSurfaceSystemStatus().
Referenced by HandleSend().
|
protected |
References WsfComponentList::GetComponent(), WsfL16::ComputerPart::GetPlatform(), and WsfWeapon::GetQuantityRemaining().
Referenced by SendAirSystemStatus().
|
protected |
Referenced by Initialize(), SendSystemStatus(), SystemStatusPart(), and SystemStatusPart().
|
protected |
Referenced by SystemStatusPart(), and SystemStatusPart().
|
protected |
Referenced by Initialize(), ProcessInput(), SendAirSystemStatus(), and SystemStatusPart().